From 86629431ce8f49d192bd5b55c7ff346e1a1d98cb Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Sat, 26 Jan 2019 11:06:26 +0100 Subject: micro bunzip --- test/monniaux/clock.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/monniaux/clock.h (limited to 'test/monniaux/clock.h') diff --git a/test/monniaux/clock.h b/test/monniaux/clock.h new file mode 100644 index 00000000..768985b4 --- /dev/null +++ b/test/monniaux/clock.h @@ -0,0 +1,5 @@ +typedef unsigned long long cycle_t; + +void clock_stop(void); +void clock_start(void); +cycle_t get_total_clock(void); -- cgit From d8bef07031a1928e7e071c47f3d3702d4d9a4ca3 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 30 Jan 2019 16:08:49 +0100 Subject: remove preprocessor directives about SIZE_TYPE, now useless (long is now 8 bytes like in gcc) --- test/monniaux/clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/monniaux/clock.h') diff --git a/test/monniaux/clock.h b/test/monniaux/clock.h index 768985b4..b5ee65a4 100644 --- a/test/monniaux/clock.h +++ b/test/monniaux/clock.h @@ -1,5 +1,6 @@ -typedef unsigned long long cycle_t; +typedef unsigned long cycle_t; void clock_stop(void); void clock_start(void); cycle_t get_total_clock(void); +void print_total_clock(void); -- cgit From e6890cc9d54dde37921e263daac03e1d9b8eee1e Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Sat, 2 Feb 2019 15:57:48 +0100 Subject: better Makefile and printouts --- test/monniaux/clock.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/monniaux/clock.h') diff --git a/test/monniaux/clock.h b/test/monniaux/clock.h index b5ee65a4..43fd7c5c 100644 --- a/test/monniaux/clock.h +++ b/test/monniaux/clock.h @@ -1,6 +1,8 @@ typedef unsigned long cycle_t; +void clock_prepare(void); void clock_stop(void); void clock_start(void); cycle_t get_total_clock(void); void print_total_clock(void); +void printerr_total_clock(void); -- cgit From d7b65819914396ffe615130867bfe2d281b4ccc8 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Tue, 12 Mar 2019 06:25:09 +0100 Subject: easier for clocking directly from ccomp files --- test/monniaux/clock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'test/monniaux/clock.h') diff --git a/test/monniaux/clock.h b/test/monniaux/clock.h index 43fd7c5c..be8fa172 100644 --- a/test/monniaux/clock.h +++ b/test/monniaux/clock.h @@ -4,5 +4,6 @@ void clock_prepare(void); void clock_stop(void); void clock_start(void); cycle_t get_total_clock(void); +cycle_t get_current_cycle(void); void print_total_clock(void); void printerr_total_clock(void); -- cgit