Colibri Core
Classes | Functions
benchmarks.cpp File Reference
#include <fstream>
#include <vector>
#include <iostream>
#include <sstream>
#include <string>
#include <unistd.h>
#include <classencoder.cpp>
#include <classdecoder.cpp>
#include <pattern.h>
#include <patternmodel.h>
#include <alignmodel.h>
#include <sys/time.h>

Classes

struct  Measurement
 

Functions

size_t getPeakRSS ()
 ==================== BEGIN MEMORY PROFILING CODE ============ More...
 
size_t getCurrentRSS ()
 
Measurement begin (const string &title)
 
void end (Measurement &m)
 
int main (int argc, char *argv[])
 

Function Documentation

Measurement begin ( const string &  title)
void end ( Measurement m)
size_t getCurrentRSS ( )

Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

size_t getPeakRSS ( )

==================== BEGIN MEMORY PROFILING CODE ============

Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

int main ( int  argc,
char *  argv[] 
)