Classes | Namespaces | Defines | Enumerations | Functions
tictoc.hpp File Reference
#include <inttypes.h>
#include <vector>
#include <string>
Include dependency graph for tictoc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fovis::tictoc_t

Namespaces

namespace  fovis
 

quick and dirty profiling tool.

inspired by the matlab tic/toc command


Defines

#define FOVIS_TICTOC_ENV   "FOVIS_TICTOC"

Enumerations

enum  fovis::tictoc_sort_type_t {
  fovis::TICTOC_AVG, fovis::TICTOC_TOTAL, fovis::TICTOC_MIN, fovis::TICTOC_MAX,
  fovis::TICTOC_EMA, fovis::TICTOC_ALPHABETICAL
}

Functions

int64_t fovis::tictoc (const char *description)
int64_t fovis::tictoc_full (const char *description, double ema_alpha, int64_t *ema)
void fovis::tictoc_get_stats (std::vector< tictoc_t > *stats)
void fovis::tictoc_print_stats (tictoc_sort_type_t sortType)

Define Documentation

#define FOVIS_TICTOC_ENV   "FOVIS_TICTOC"

Definition at line 32 of file tictoc.hpp.



libfovis
Author(s): Albert Huang, Maurice Fallon
autogenerated on Thu Jun 6 2019 20:16:12