1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
//-----------------------------------------------------------------------------
/** @file libboardgame_base/CpuTime.h
@author Markus Enzenberger
@copyright GNU General Public License version 3 or later */
//-----------------------------------------------------------------------------
#ifndef LIBBOARDGAME_BASE_CPU_TIME_H
#define LIBBOARDGAME_BASE_CPU_TIME_H
namespace libboardgame_base {
//-----------------------------------------------------------------------------
/** Return the CPU time of the current process.
@return The CPU time of the current process in seconds or -1, if the
CPU time cannot be determined. */
double cpu_time();
//-----------------------------------------------------------------------------
} // namespace libboardgame_base
#endif // LIBBOARDGAME_BASE_CPU_TIME_H
|