TEST_EXPECT(true, pid >= 0);
if (pid == 0) {
- TIME_MEASURE_START
+ TANCHOR_TIME_MEASURE_START
ret = ta.launch();
- TIME_MEASURE_END
+ TANCHOR_TIME_MEASURE_END
TEST_EXPECT(true, ret == TRUST_ANCHOR_ERROR_NONE);
// check file-system
TEST_EXPECT(true, pid >= 0);
if (pid == 0) {
- TIME_MEASURE_START
+ TANCHOR_TIME_MEASURE_START
ret = ta.launch();
- TIME_MEASURE_END
+ TANCHOR_TIME_MEASURE_END
TEST_EXPECT(true, ret == TRUST_ANCHOR_ERROR_NONE);
// check file-system
using namespace std::chrono;
-#define TIME_MEASURE_START auto start = system_clock::now(); \
- std::cout << "Start to measure time" << std::endl;
-#define TIME_MEASURE_END auto end = system_clock::now(); \
- auto mill = duration_cast<milliseconds>(end - start); \
- std::cout << "Elapsed time : " << mill.count() \
- << "ms" << std::endl;
+#define TANCHOR_TIME_MEASURE_START auto start = system_clock::now(); \
+ std::cout << "Start to measure time" << std::endl;
+#define TANCHOR_TIME_MEASURE_END auto end = system_clock::now(); \
+ auto mill = duration_cast<milliseconds>(end - start); \
+ std::cout << "Elapsed time : " << mill.count() \
+ << "ms" << std::endl;
namespace test {
namespace util {