Time stores int64_t. So, large numbers are printed as exponential
notation. This does not help in debugging. So, print time as string.
Reference: https://review.tizen.org/gerrit/c/282405
Change-Id: Ibce730ea00b6200e3ec7edad10c86164e97d39a7
Signed-off-by: v-saha <v.saha@samsung.com>
}
std::ostream& operator<<(std::ostream& os, TimeDelta time_delta) {
+#if BUILDFLAG(IS_TIZEN)
+ return os << std::to_string(time_delta.InSecondsF()) << " s";
+#else
return os << time_delta.InSecondsF() << " s";
+#endif
}
// Time -----------------------------------------------------------------------