Skip to content
Snippets Groups Projects
Commit aed1a0fa authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/tools: add dump_type_scaledPicoseconds to wrs_dump_shmem


Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 7fcc04aa
Branches
Tags
No related merge requests found
......@@ -287,6 +287,9 @@ void dump_one_field(void *addr, struct dump_info *info)
printf("\n");
break;
}
case dump_type_scaledPicoseconds:
printf("%lld\n", (*(unsigned long long *)p)>>16);
break;
}
}
void dump_many_fields(void *addr, struct dump_info *info, int ninfo)
......
......@@ -70,6 +70,8 @@ enum dump_type {
/* rtu_filtering_entry enumerations */
dump_type_rtu_filtering_entry_dynamic,
dump_type_array_int,
/* scaledPicoseconds */
dump_type_scaledPicoseconds,
};
/*
* A structure to dump fields. This is meant to simplify things, see use here
......
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