Commit c8168fa2 authored by Joanne Hugé's avatar Joanne Hugé

Merge branch 'master' into measure-analysis

parents ca7e1790 67101268
...@@ -235,7 +235,7 @@ int main(int argc, char *argv[]) { ...@@ -235,7 +235,7 @@ int main(int argc, char *argv[]) {
if (enable_timestamps) { if (enable_timestamps) {
int64_t user_space_time = stats->packet_info.userspace_exit_ts - stats->packet_info.userspace_enter_ts; int64_t user_space_time = stats->packet_info.userspace_exit_ts - stats->packet_info.userspace_enter_ts;
int64_t kernel_space_time = stats->packet_info.kernelspace_ts - stats->packet_info.userspace_exit_ts; int64_t kernel_space_time = stats->packet_info.userspace_enter_ts - stats->packet_info.kernelspace_ts;
printf(", U: %*" PRIi64 ", K: %*" PRIi64 ", D: %*s, L: %*d\n", printf(", U: %*" PRIi64 ", K: %*" PRIi64 ", D: %*s, L: %*d\n",
10, user_space_time, 10, user_space_time,
......
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