PeTar
N-body code for collisional gravitational systems
|
#include <profile.hpp>
Public Member Functions | |
NumCounter (const char *_name) | |
NumCounter & | operator++ () |
NumCounter & | operator+= (const PS::S64 _n) |
NumCounter & | operator= (const PS::S64 _n) |
void | print (std::ostream &fout, const PS::S32 divider=1) const |
void | dump (std::ostream &fout, const PS::S32 divider=1, const PS::S32 width=PROFILE_PRINT_WIDTH) const |
void | dumpName (std::ostream &fout, const PS::S32 width=PROFILE_PRINT_WIDTH) const |
Public Attributes | |
PS::S64 | n |
const char * | name |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
PS::S64 NumCounter::n |
const char* NumCounter::name |