Commit d72d0d4f authored by oscar's avatar oscar

提交更新

parent f8bf38a7
......@@ -3,6 +3,7 @@
#include <sys/time.h>
#include <unistd.h>
#ifndef _IGNORE_GETCURTIME_
uint64_t GetCurTime()
{
struct timeval time;
......@@ -11,6 +12,7 @@ uint64_t GetCurTime()
uint64_t ttt = seconds * 1000 * 1000 + time.tv_usec;
return ttt;
}
#endif
std::string GetMatrixStr(const float* data_ptr, int col, int row)
{
......
......@@ -4,7 +4,9 @@
#include <vector>
#include <opencv2/opencv.hpp>
#ifndef _IGNORE_GETCURTIME_
uint64_t GetCurTime();
#endif
std::string GetTimeStr(uint64_t timestamp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment