20.10.2013 - Modified PIObject - virtual debugName() for macro piCoutObj, improved timer measurements and timers on Windows
This commit is contained in:
@@ -31,14 +31,11 @@ namespace PISystemTests {
|
||||
|
||||
|
||||
PISystemTests::PISystemTestReader::PISystemTestReader() {
|
||||
PIConfig conf(
|
||||
#ifndef WINDOWS
|
||||
"/etc/pip.conf"
|
||||
#else
|
||||
"pip.conf"
|
||||
#endif
|
||||
, PIIODevice::ReadOnly);
|
||||
PIConfig conf("/etc/pip.conf", PIIODevice::ReadOnly);
|
||||
conf.setReopenEnabled(false);
|
||||
time_resolution_ns = conf.getValue("time_resolution_ns", 1);
|
||||
time_elapsed_ns = conf.getValue("time_elapsed_ns", 0);
|
||||
usleep_offset_us = conf.getValue("usleep_offset_us", 60);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user