Commit dc974939 authored by Sasha Goldshtein's avatar Sasha Goldshtein

Added source for gettime code

parent cfce3117
......@@ -121,6 +121,7 @@ def decode_stack(info):
stack += " %s (%x) ;" % (decode_addr(code_ranges, addr), addr)
return stack
# Adapted from http://stackoverflow.com/a/1205762
CLOCK_MONOTONIC_RAW = 4 # see <linux/time.h>
class timespec(ctypes.Structure):
......
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