- Cacheline Ping-Pong - 4 Updates
- Best book to learn C++11 and C++14? - 2 Updates
- hash<size_t> - 11 Updates
- Is there something like MSVC's __assume with gcc? - 2 Updates
- Function To Behave Differently If Called From Main Thread - 2 Updates
Monday, September 23, 2019
Digest for comp.lang.c++@googlegroups.com - 21 updates in 5 topics
- Cacheline Ping-Pong - 4 Updates
- Best book to learn C++11 and C++14? - 2 Updates
- hash<size_t> - 11 Updates
- Is there something like MSVC's __assume with gcc? - 2 Updates
- Function To Behave Differently If Called From Main Thread - 2 Updates
Bonita Montero <Bonita.Montero@gmail.com>: Sep 23 09:08AM +0200 I was researching a bit to get a contention-free LRU-list that scales lineary with the number of processors. My work is finished now and I have the nearly perfect solulion for this issue. But after that I thought what the costs of cachline-swapping between cores might be, so I wrote a little program: #if defined(_MSC_VER) #include <Windows.h> #elif defined(__unix__) #include <sys/sysinfo.h> #include <sched.h> #include <pthread.h>
Subscribe to:
Post Comments (Atom)
|
No comments:
Post a Comment