Skip to content

This is to test how to use pthread in a optimal way

Notifications You must be signed in to change notification settings

kkangshawn/test_pthread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test_pthread

This is to test how to use pthread in an optimal way

This console application compares when pthread library takes charge of managing CPU assign against when a user explicitly set affinity.
This results in the former one performs almost same with or a little better than the later one. This also proves that the performance is proportional if the number of threads is set N times of CPU cores.

About

This is to test how to use pthread in a optimal way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published