From 2b78f360e801cfe3fa51092c56c96c8fe23983e0 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Fri, 3 Aug 2012 15:03:07 -0400 Subject: [PATCH] Fix: Add missing clock-types.h Signed-off-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers --- include/babeltrace/clock-types.h | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 include/babeltrace/clock-types.h diff --git a/include/babeltrace/clock-types.h b/include/babeltrace/clock-types.h new file mode 100644 index 00000000..2adf6189 --- /dev/null +++ b/include/babeltrace/clock-types.h @@ -0,0 +1,33 @@ +#ifndef _BABELTRACE_CLOCKS_H +#define _BABELTRACE_CLOCKS_H + +/* + * BabelTrace + * + * clocks header + * + * Copyright 2012 EfficiOS Inc. and Linux Foundation + * + * Author: Mathieu Desnoyers + * Julien Desfossez + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + */ + +/* + * the Babeltrace clock representations + */ +enum bt_clock_type { + BT_CLOCK_CYCLES = 0, + BT_CLOCK_REAL, +}; + +#endif /* _BABELTRACE_CLOCKS_H */ -- 2.34.1