Skip to content

Instantly share code, notes, and snippets.

@tim-janik
tim-janik / lnice-latency.c
Last active Sep 20, 2022
Latency nice text of ALSA Test_latency.c
View lnice-latency.c
/*
* Latency test program
*
* Author: Jaroslav Kysela <perex@perex.cz>
*
* Author of bandpass filter sweep effect:
* Maarten de Boer <mdeboer@iua.upf.es>
*
* This small demo program can be used for measuring latency between
* capture and playback. This latency is measured from driver (diff when
View meson.build
# -*- Mode: python; python-indent-offset: 2 -*-
project ('test always_build', 'c')
buildid_h = custom_target ('buildid.h',
output : 'buildid.h',
command : ['../mkbuildid.sh', '+"%M"'],
build_always : true)
executable ('tester', 'tester.c', buildid_h)
@tim-janik
tim-janik / thread-local-storage-benchmark.diff
Created May 26, 2015
TLS - Thread Local Storage Benchmark Patch against Rapicorn
View thread-local-storage-benchmark.diff
diff --git rcore/tests/multitest.cc rcore/tests/multitest.cc
index e8bed7a..0b985fd 100644
--- rcore/tests/multitest.cc
+++ rcore/tests/multitest.cc
@@ -15,6 +15,125 @@ using namespace Rapicorn;
#error RAPICORN_CHECK_VERSION() implementation is broken
#endif
+#define VOLATILE volatile
+