Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00516.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00516.php on line 2
The ARGoS Website

profiler.cpp File Reference
#include "profiler.h"
#include <argos3/core/utility/logging/argos_log.h>
#include <argos3/core/utility/configuration/argos_configuration.h>
Include dependency graph for profiler.cpp:

Go to the source code of this file.

Namespaces

 argos
 The namespace containing all the ARGoS related code.
 

Macros

#define DUMP_RUSAGE_FIELD_HUMAN_READABLE(MSG, FIELD)   c_os << MSG ": " << t_resources.ru_ ## FIELD << std::endl;
 
#define DUMP_RUSAGE_FIELD_TABLE_ROW(FIELD)   c_os << " " << t_resources.ru_ ## FIELD;
 
#define DIFF_RUSAGE_FIELD(FIELD)   tResult.ru_ ## FIELD = t_resource1.ru_ ## FIELD - t_resource2.ru_ ## FIELD;
 

Functions

void argos::DumpResourceUsageHumanReadable (std::ostream &c_os, const ::rusage &t_resources)
 
void argos::DumpResourceUsageAsTableRow (std::ostream &c_os, const ::rusage &t_resources)
 
::rusage argos::operator- (const ::rusage &t_resource1, const ::rusage &t_resource2)
 

Macro Definition Documentation

#define DIFF_RUSAGE_FIELD (   FIELD)    tResult.ru_ ## FIELD = t_resource1.ru_ ## FIELD - t_resource2.ru_ ## FIELD;

Definition at line 88 of file profiler.cpp.

#define DUMP_RUSAGE_FIELD_HUMAN_READABLE (   MSG,
  FIELD 
)    c_os << MSG ": " << t_resources.ru_ ## FIELD << std::endl;

Definition at line 36 of file profiler.cpp.

#define DUMP_RUSAGE_FIELD_TABLE_ROW (   FIELD)    c_os << " " << t_resources.ru_ ## FIELD;

Definition at line 62 of file profiler.cpp.