git-svn-id: svn://db.shs.com.ru/pip@147 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -32,10 +32,10 @@ namespace PISystemTests {
|
||||
|
||||
PISystemTests::PISystemTestReader::PISystemTestReader() {
|
||||
#ifndef WINDOWS
|
||||
PIConfig conf("/etc/pip.conf", PIIODevice::ReadOnly);
|
||||
PIConfig conf(PIStringAscii("/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);
|
||||
time_resolution_ns = conf.getValue(PIStringAscii("time_resolution_ns"), 1);
|
||||
time_elapsed_ns = conf.getValue(PIStringAscii("time_elapsed_ns"), 0);
|
||||
usleep_offset_us = conf.getValue(PIStringAscii("usleep_offset_us"), 60);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user