task: Removed obsolete timer util

This commit is contained in:
Michael Carlberg 2016-06-20 22:16:55 +02:00
parent ec92ac91ab
commit b26ab9ce5f
5 changed files with 0 additions and 28 deletions

View File

@ -1,9 +0,0 @@
#if 0
#pragma once
namespace timer
{
// unsigned int seconds_to_microseconds(float seconds);
// void sleep(float seconds);
}
#endif

View File

@ -51,7 +51,6 @@ set(SOURCE_FILES
"src/utils/io.cpp" "src/utils/io.cpp"
"src/utils/proc.cpp" "src/utils/proc.cpp"
"src/utils/string.cpp" "src/utils/string.cpp"
"src/utils/timer.cpp"
"src/utils/xlib.cpp" "src/utils/xlib.cpp"
"src/bar.cpp" "src/bar.cpp"
"src/eventloop.cpp" "src/eventloop.cpp"

View File

@ -17,7 +17,6 @@
#include "utils/macros.hpp" #include "utils/macros.hpp"
#include "utils/proc.hpp" #include "utils/proc.hpp"
#include "utils/string.hpp" #include "utils/string.hpp"
#include "utils/timer.hpp"
#include "utils/xlib.hpp" #include "utils/xlib.hpp"
/** /**

View File

@ -6,7 +6,6 @@
#include "utils/config.hpp" #include "utils/config.hpp"
#include "utils/io.hpp" #include "utils/io.hpp"
#include "utils/proc.hpp" #include "utils/proc.hpp"
#include "utils/timer.hpp"
using namespace modules; using namespace modules;

View File

@ -1,16 +0,0 @@
#if 0
#include <unistd.h>
#include "utils/timer.hpp"
namespace timer
{
unsigned int seconds_to_microseconds(float seconds) {
return seconds * 1000000;
}
void sleep(float seconds) {
usleep(seconds_to_microseconds(seconds));
}
}
#endif