Top "Cpu" questions

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

How to determine the hardware (CPU and RAM) on a machine?

I'm working on a cross platform profiling suite, and would like to add information about the machine's CPU (architecture/clock …

c++ c memory hardware cpu
What is the equivalent of /proc/cpuinfo on FreeBSD v8.1?

What is the equivalent of Linux's /proc/cpuinfo on FreeBSD v8.1? My application reads /proc/cpuinfo and saves the information …

linux cpu porting introspection freebsd
Does larger cache size always lead to improved performance?

Since cache inside the processor increases the instruction execution speed. I'm wondering what if we increase the size of cache …

caching memory cpu processor
Implementation of __builtin_clz

What is the implementation of GCC's (4.6+) __builtin_clz? Does it correspond to some CPU instruction on Intel x86_64 (AVX)?

c gcc cpu simd
Throttling CPU/Memory usage of a Thread in Java?

I'm writing an application that will have multiple threads running, and want to throttle the CPU/memory usage of those …

java memory multithreading cpu throttling
Can a C# program measure its own CPU usage somehow?

I am working on a background program that will be running for a long time, and I have a external …

c# monitoring cpu performancecounter
Timing the CPU time of a python program?

I would like to time a snippet of my code, and I would like just the CPU execution time (ignoring …

python time cpu profile execution
Cache or Registers - which is faster?

I'm sorry if this is the wrong place to ask this but I've searched and always found different answer. My …

performance caching memory cpu cpu-registers
Is integer multiplication really done at the same speed as addition on a modern CPU?

I hear this statement quite often, that multiplication on modern hardware is so optimized that it actually is at the …

c++ performance cpu multiplication addition
What are the common causes for high CPU usage?

Background: In my application written in C++, I have created 3 threads: AnalysisThread (or Producer) : it reads an input file, parses …

c++ multithreading performance cpu cpu-usage