X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fmarkers%2Ftest-micro-loop-probe.c;fp=tests%2Fmarkers%2Ftest-micro-loop-probe.c;h=0000000000000000000000000000000000000000;hb=a219d12930979a81f43a3a3f5499b2bd00141a84;hp=734027813b0bdae5ee9bef0b015775aab4e786c8;hpb=31efe1f8304f09a4f4139c387a98d3215cd423c9;p=lttv.git diff --git a/tests/markers/test-micro-loop-probe.c b/tests/markers/test-micro-loop-probe.c deleted file mode 100644 index 73402781..00000000 --- a/tests/markers/test-micro-loop-probe.c +++ /dev/null @@ -1,57 +0,0 @@ -/* test-micro-loop-marker.c - * - * Execute a marker in a loop - */ - -#include -#include -#include -#include -#include -#include - -#define NR_LOOPS 100000 - -struct proc_dir_entry *pentry = NULL; - -static int my_open(struct inode *inode, struct file *file) -{ - volatile unsigned int i; - unsigned long flags; - cycles_t time1, time2; - - local_irq_save(flags); - time1 = get_cycles(); - for(i=0; iproc_fops = &my_operations; - - return 0; -} - -void cleanup_module(void) -{ - remove_proc_entry("testmark", NULL); -} - -MODULE_LICENSE("GPL"); -MODULE_AUTHOR("Mathieu Desnoyers"); -MODULE_DESCRIPTION("Marker Test"); -