Exemplo n.º 1
0
	/**@brief Get the current run time since time point start_ in seconds
	 * @return A double with the run time converted into seconds
	 *
	 */
	double getRunTimeInSecs() {
		return timer_.totalTime();
	}
Exemplo n.º 2
0
	/**@brief Get a string formated run time in seconds rounded to the nearest
	 * hundreth
	 * @return A string wiht run time formated to tell time for hrs, minutes,
	 * seconds etc.
	 */
	std::string getRunTime() {
		return commands_.getProgramName() + " (" + timer_.totalTimeFormatted(2) + ")";
	}
Exemplo n.º 3
0
	/**@brief Get a string formated run time in seconds rounded to the nearest
	 * hundreth
	 * @return A string wiht run time formated to tell time for hrs, minutes,
	 * seconds etc.
	 */
	std::string getRunTime() {
		return programName_ + " (" + timer_.totalTimeFormatted(2) + ")";
	}