Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
basic_sys_util.cc File Reference

All system functions in utility that have no other home. More...

#include <utility/basic_sys_util.hh>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <cstdlib>
#include <unistd.h>

Go to the source code of this file.

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 

Functions

void utility::sys_sleep (double const seconds)
 Sleep for a specified number of seconds. More...
 
void utility::rand_sleep ()
 
std::string utility::timestamp ()
 Generate timestamp string. More...
 
std::string utility::timestamp_short ()
 Generate timestamp string, short format. More...
 

Detailed Description

All system functions in utility that have no other home.

Author
David Kim (dekim.nosp@m.@u.w.nosp@m.ashin.nosp@m.gton.nosp@m..edu)
Todo:

Break out platform-specific code.

Get rid of output messages: unnecessary dependence on <iostream>

Definition in file basic_sys_util.cc.