We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53edfb5 commit 5b8da7eCopy full SHA for 5b8da7e
Documentation/applications/testing/pthread_mutex_perf/index.rst
@@ -0,0 +1,15 @@
1
+=======
2
+Testing
3
4
+
5
+The ``pthread_mutex_perf`` is a simple performance test for validate if some
6
+specific kernel modification impacted the pthread_mutex_trylock().
7
8
+Basically the test will run a busy-wait 1000000 trying to acquire a mutex
9
+that is already locked. Then it will calculated the total time and the
10
+average time repeating this cycle 10 times.
11
12
+This test is not intented to confirm that pthread mutex is working, for that
13
+is better to use ostest. Its goal is to verify impact in the kernel that
14
+could be considered a regression.
15
0 commit comments