14 #include "profileutils.h"
29 pthread_mutex_t thmutex;
30 pthread_cond_t thcond;
39 std::string base_path;
41 std::string curr_path;
51 pthread_mutex_t my_mutex;
54 int set_numlogs(
int nlogs);
55 int get_numlogs(){
return numlogs;}
57 int get_currlog(){
return currlog;}
58 int get_abscurrlog(){
return abscurrlog;}
60 seqlog * get_seqlog(){
return logs;}
63 int set_base_path(
const std::string& bp);
64 std::string get_base_path(){
return base_path;}
66 int get_nextlog(
int clog);
68 int logseqmsg(
const char * sm,
const char * sp, timespec *st);
80 #endif //__profiler_h__
int logs_per_file
maximum number of logs to write per file.
int abslast_written
last file written
int last_written
index of the last file written.
int logs_in_file
number of logs in current file.
The namespace of VisAO software.
Declarations for various image utility functions.
int fd
file descriptor of the currently open file.