/* * Copyright 2015, Anton Blanchard, IBM Corp. * Licensed under GPLv2. */ #include #include #include "utils.h" static int test_gettimeofday(void) { int i; struct timeval tv_start, tv_end; gettimeofday(&tv_start, NULL); for(i = 0; i < 100000000; i++) { gettimeofday(&tv_end, NULL); } printf("time = %.6f\n", tv_end.tv_sec - tv_start.tv_sec + (tv_end.tv_usec - tv_start.tv_usec) * 1e-6); return 0; } int main(void) { return test_harness(test_gettimeofday, "gettimeofday"); } git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-07 10:40:50 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-02-07 10:40:50 +0100
commitbddb2afcb6c52a545f18fb9bcd4829828ebf4a3a (patch)
tree0021fe481f8acf3694d92d72f3dd1b2a71a20ca3 /sound/synth/emux/emux.c
parent228c8c6b1f4376788e9d5ab00d50b10228eb40d3 (diff)
mac80211: add back lost debugfs files
Somehow these files were never present or lost, but the code is there and they seem somewhat useful, so add them back. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'sound/synth/emux/emux.c')