Top "Cpu" questions

The central processing unit or "processor" inside a computer which executes the instructions in a computer program.

How can I measure CPU time and wall clock time on both Linux/Windows?

I mean: how can I measure time my CPU spent on function execution and wall clock time it takes to …

c++ c performance time cpu
What is a cache hit and a cache miss? Why would context-switching cause cache miss?

From the 11th Chapter(Performance and Scalability) and the section named Context Switching of the JCIP book: When a new …

concurrency language-agnostic cpu cpu-architecture cpu-cache
List of OpenCL compliant CPU/GPU

How can I know which CPU can be programmed by OpenCL? For example, the Pentium E5200. Is there a way …

cpu opencl
Get CPU temperature in CMD/POWER Shell

In my computer I am trying to get the CPU temperature. Searching on StackOverflow I found this: C:\WINDOWS\system32&…

powershell cmd cpu temperature
Linux display average CPU load for last week

On a Linux box, I need to display the average CPU utilisation per hour for the last week. Is that …

linux load cpu logfiles
Which Java thread is hogging the CPU?

Let's say your Java program is taking 100% CPU. It has 50 threads. You need to find which thread is guilty. I …

java multithreading cpu
How to get the number of CPUs in Linux using C?

Is there an API to get the number of CPUs available in Linux? I mean, without using /proc/cpuinfo or …

c linux multithreading cpu processor
How is CPU usage calculated?

On my desktop, I have a little widget that tells me my current CPU usage. It also shows the usage …

algorithm performance cpu cpu-usage cpu-architecture
FLOPS per cycle for sandy-bridge and haswell SSE2/AVX/AVX2

I'm confused on how many flops per cycle per core can be done with Sandy-Bridge and Haswell. As I understand …

cpu intel cpu-architecture avx flops
Is x86 RISC or CISC?

According to Wikipedia, x86 is a CISC design, but I also have heard/read that it is RISC. What is …

x86 cpu cpu-architecture