Re: setup the PMU to generate an interrupt on x number of LLC misses

2014-10-27 Thread Devrin Talen
Emanuel Berg writes: > "Devrin Talen" writes: > >> To block on accesses to a file until it actually has >> data for you try reading up on the `select` call: >> >> % man 2 select > > That would be great because that is exactly what I > need. However I didn't get it to work. I always get > "N

Re: setup the PMU to generate an interrupt on x number of LLC misses

2014-10-23 Thread Emanuel Berg
"Devrin Talen" writes: > To block on accesses to a file until it actually has > data for you try reading up on the `select` call: > > % man 2 select That would be great because that is exactly what I need. However I didn't get it to work. I always get "No data." for the below code, but it d

Re: setup the PMU to generate an interrupt on x number of LLC misses

2014-10-22 Thread Devrin Talen
Emanuel Berg writes: > I have written a program [1] in C++ that uses polling, > but I was told that wasn't good enough so now I search > for a "preemptive" or interrupt-based solution. To block on accesses to a file until it actually has data for you try reading up on the `select` call: %

setup the PMU to generate an interrupt on x number of LLC misses

2014-10-21 Thread Emanuel Berg
I have heard this is possible but not seen any examples. It doesn't matter if I have to change the kernel to get it. I have written a program [1] in C++ that uses polling, but I was told that wasn't good enough so now I search for a "preemptive" or interrupt-based solution. Any help very much ap

setup the PMU to generate an interrupt on x number of LLC misses

2014-10-21 Thread Emanuel Berg
I have heard this is possible but not seen any examples. It doesn't matter if I have to change the kernel to get it. I have written a program [1] in C++ that uses polling, but I was told that wasn't good enough so now I search for a "preemptive" or interrupt-based solution. Any help very much ap