Definition in file SgGtpCommands.cpp.
#include "SgSystem.h"
#include "SgGtpCommands.h"
#include <iomanip>
#include <iostream>
#include <unistd.h>
#include "SgDebug.h"
#include "SgRandom.h"
#include "SgTime.h"
Go to the source code of this file.
Functions | |
string | ParseCpuTimeId (const GtpCommand &cmd) |
SgTimeMode | TimeModeArg (const GtpCommand &cmd, size_t number) |
string | TimeModeToString (SgTimeMode mode) |
string @2::ParseCpuTimeId | ( | const GtpCommand & | cmd | ) | [static] |
Definition at line 23 of file SgGtpCommands.cpp.
References GtpCommand::Arg(), GtpCommand::CheckNuArgLessEqual(), and GtpCommand::NuArg().
Referenced by SgGtpCommands::CmdCpuTime(), and SgGtpCommands::CmdCpuTimeReset().
SgTimeMode @2::TimeModeArg | ( | const GtpCommand & | cmd, | |
size_t | number | |||
) | [static] |
Definition at line 31 of file SgGtpCommands.cpp.
References GtpCommand::ArgToLower(), SG_TIME_CPU, and SG_TIME_REAL.
Referenced by SgGtpCommands::CmdParam().
string @2::TimeModeToString | ( | SgTimeMode | mode | ) | [static] |
Definition at line 41 of file SgGtpCommands.cpp.
References SG_ASSERT, SG_TIME_CPU, and SG_TIME_REAL.
Referenced by SgGtpCommands::CmdParam().