Sysutil Namespace Reference

Platform-independent utilities for various OS, hardware, and system resource functionality. More...

Functions

DLLPUBLIC size_t memory_used (bool resident=false)
DLLPUBLIC void get_local_time (const time_t *time, struct tm *converted_time)
DLLPUBLIC std::string this_program_path ()

Detailed Description

Platform-independent utilities for various OS, hardware, and system resource functionality.


Function Documentation

DLLPUBLIC void Sysutil::get_local_time ( const time_t *  time,
struct tm *  converted_time 
)

Convert calendar time pointed by 'time' into local time and save it in 'converted_time' variable

DLLPUBLIC size_t Sysutil::memory_used ( bool  resident = false  ) 

The amount of memory currently being used by this process, in bytes. By default, returns the full virtual arena, but if resident=true, it will report just the resident set in RAM.

DLLPUBLIC std::string Sysutil::this_program_path (  ) 

Return the full path of the currently-running executable program.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 27 06:30:41 2009 for OpenImageIO by  doxygen 1.6.1