Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

prof.cc File Reference


Detailed Description

class for accumulating profiling information

Definition in file prof.cc.

#include "rutz/prof.h"
#include "rutz/abort.h"
#include "rutz/mutex.h"
#include "rutz/staticstack.h"
#include <algorithm>
#include <cstdio>
#include <functional>
#include <iomanip>
#include <new>
#include <ostream>
#include <pthread.h>
#include <string>

Include dependency graph for prof.cc:

Go to the source code of this file.

Typedefs

typedef rutz::static_stack<
rutz::prof *, 2048 > 
prof_list

Functions

void open_pdata_file ()
void initialize_prof_list ()
prof_listall_profs () throw ()
void initialize_start_time ()
bool compare_total_time (rutz::prof *p1, rutz::prof *p2) throw ()
static const char __attribute__ ((used)) vcid_groovx_rutz_prof_cc_utc20050630214713[]

Variables

bool g_pdata_print_at_exit = false
std::string g_pdata_fname = "prof.out"
FILE * g_pdata_file = 0
pthread_once_t g_pdata_file_once = PTHREAD_ONCE_INIT
pthread_mutex_t g_pdata_mutex = PTHREAD_MUTEX_INITIALIZER
prof_listg_prof_list = 0
pthread_once_t g_prof_list_once = PTHREAD_ONCE_INIT
pthread_mutex_t g_prof_list_mutex = PTHREAD_MUTEX_INITIALIZER
rutz::time g_start
pthread_once_t g_start_once = PTHREAD_ONCE_INIT


Generated on Sun Mar 21 13:54:14 2010 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4