linguini1 commented on code in PR #17524:
URL: https://github.com/apache/nuttx/pull/17524#discussion_r2624956154


##########
Documentation/applications/testing/pthread_mutex_perf/index.rst:
##########
@@ -0,0 +1,15 @@
+=======
+Testing
+=======
+
+The ``pthread_mutex_perf`` is a simple performance test for validate if some
+specific kernel modification impacted the pthread_mutex_trylock().
+
+Basically the test will run a busy-wait 1000000 trying to acquire a mutex
+that is already locked. Then it will calculated the total time and the

Review Comment:
   "then it will calculate"



##########
Documentation/applications/testing/pthread_mutex_perf/index.rst:
##########
@@ -0,0 +1,15 @@
+=======
+Testing
+=======
+
+The ``pthread_mutex_perf`` is a simple performance test for validate if some

Review Comment:
   to validate



##########
Documentation/applications/testing/pthread_mutex_perf/index.rst:
##########
@@ -0,0 +1,15 @@
+=======
+Testing
+=======
+
+The ``pthread_mutex_perf`` is a simple performance test for validate if some
+specific kernel modification impacted the pthread_mutex_trylock().
+
+Basically the test will run a busy-wait 1000000 trying to acquire a mutex
+that is already locked. Then it will calculated the total time and the
+average time repeating this cycle 10 times.

Review Comment:
   time, repeating this cycle



##########
Documentation/applications/testing/pthread_mutex_perf/index.rst:
##########
@@ -0,0 +1,15 @@
+=======
+Testing
+=======
+
+The ``pthread_mutex_perf`` is a simple performance test for validate if some
+specific kernel modification impacted the pthread_mutex_trylock().
+
+Basically the test will run a busy-wait 1000000 trying to acquire a mutex
+that is already locked. Then it will calculated the total time and the
+average time repeating this cycle 10 times.
+
+This test is not intented to confirm that pthread mutex is working, for that

Review Comment:
   intended



##########
Documentation/applications/testing/pthread_mutex_perf/index.rst:
##########
@@ -0,0 +1,15 @@
+=======
+Testing
+=======
+
+The ``pthread_mutex_perf`` is a simple performance test for validate if some
+specific kernel modification impacted the pthread_mutex_trylock().
+
+Basically the test will run a busy-wait 1000000 trying to acquire a mutex
+that is already locked. Then it will calculated the total time and the
+average time repeating this cycle 10 times.
+
+This test is not intented to confirm that pthread mutex is working, for that
+is better to use ostest. Its goal is to verify impact in the kernel that

Review Comment:
   it is better



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to