forked from Ravindu987/pthread_linked_list
-
Notifications
You must be signed in to change notification settings - Fork 0
HirunaHarankahadeniya/pthread_linked_list
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Running the serial program Compile the serial.c and linkedList.c into an executable file Run the executable with the following command line arguments in order n, m, m_member, m_insert, m_delete, results_filename Ex: ./serial 1000 10000 0.9 0.05 0.05 results.txt The time taken will be printed to the terminal Running the the One Mutex and ReadWrite Lock program Compile the required file with LinkedList.c Run the executable with the following command line arguments in order number of threads, n, m, m_member, m_insert, m_delete, results_filename Ex: ./serial 4 1000 10000 0.9 0.05 0.05 results.txt The time taken will be printed to the terminal Running the complete tests For serial, run run_test_serial.sh script It will run and store the results of the test 385 num_times For Mutex and ReadWrite locks, run run_test.sh script It will run 385 tests for each number of threads and each type of solution The case parameters (n, m, m_member etc) has to be specified in the script file.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 74.4%
- Python 18.9%
- Shell 6.7%