MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
Classes | Namespaces | Defines
/home/dorival/mechsys/lib/util/stopwatch.h File Reference
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <time.h>
#include <mechsys/util/string.h>

Go to the source code of this file.

Classes

class  Util::Stopwatch

Namespaces

namespace  Util
 

Convenience utilities.


Defines

#define CONVERT_TO_HMS(seconds, H, M, S)

Define Documentation

#define CONVERT_TO_HMS (   seconds,
  H,
  M,
 
)
Value:
H  = (unsigned int) ((unsigned int)seconds / 3600);       \
    M  = (unsigned int)(((unsigned int)seconds % 3600) / 60); \
    S  = seconds-(unsigned int)(H*3600)-(unsigned int)(M*60);
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines