Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F623620
system.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
690 B
Referenced Files
None
Subscribers
None
system.h
View Options
#ifndef _rtech1_system_h
#define _rtech1_system_h
/* system utilities */
#include
<string>
#include
<stdint.h>
namespace
System
{
bool
isDirectory
(
const
std
::
string
&
path
);
void
makeDirectory
(
const
std
::
string
&
path
);
void
makeAllDirectory
(
const
std
::
string
&
path
);
bool
readableFile
(
const
std
::
string
&
path
);
bool
readable
(
const
std
::
string
&
path
);
uint64_t
getModificationTime
(
const
std
::
string
&
path
);
// uint64_t currentMicroseconds();
uint64_t
currentMilliseconds
();
uint64_t
currentSeconds
();
unsigned
long
memoryUsage
();
/* call startMemoryUsage once at the very beginning of the program */
void
startMemoryUsage
();
}
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 9:26 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
128704
Default Alt Text
system.h (690 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline