CPU speed determines how fast your process can perform tasks. CPU speeds matter less than they did in the past, thanks to the advent of multi-core processors.
Questions tagged [cpu-speed]
203 questions
0
votes
2 answers
Measuing CPU clock speed
I am trying to measure the speed of the CPU.I am not sure how much my method is accurate. Basicly, I tried an empty for loop with values like UINT_MAX but the program terminated quickly so I tried UINT_MAX * 3 and so on...
Then I realized that the…
user6274708
0
votes
0 answers
Image processing is too slow- python 2.7
import cv2
import numpy as np
while True:
cam = cv2.VideoCapture(0)
while(cam.isOpened()):
ret, im = cam.read()
im=im.reshape(1,-1,3)
im_list=im.tolist()
im_tuples=map(tuple,im_list[0])
…

Davey Boy
- 79
- 1
- 10
0
votes
1 answer
Reading file with panda, then using for loop
Im trying to read large text files with hundreds of thousands of lines in them, to make it go faster Im trying to use panda, this is the concept I want my code to be like, Im not really sure how to use for loops with panda files. Lmk if its logical…

Snoopy_D
- 1
- 1
0
votes
1 answer
Does throttling down CPU speed increase utilization (overall--not for a specific task)?
I understand that CPU utilization is 1 minus the proportion of some recent span of time that the CPU is idle, as explained here:
How is CPU usage calculated?
The answer to this question may be obvious given that definition, but does this mean that…

randy
- 1,031
- 10
- 20
0
votes
0 answers
What is the good way to compare CPU speeds using simple program (in C/C++ or Python)?
I've just set up my new PC, and I want to compare CPU speed to my MacBook Air using some simple program. I've already used Python timeit module, but I wonder, what function will produce more representative result for the problem. (some simple…

greenwolf
- 214
- 1
- 7
0
votes
1 answer
Optimizing Execution Speed Advanced Filter Loop with Calculation of each record
Problem: Code executes at about 30 seconds per record. Need to optimize speed. Spreadsheet is built around 1 page of 100,000's of records, one record is compared to up-to 100 other records from the list using an advanced filter and lookups. Various…

Shawn007
- 75
- 1
- 2
- 11
0
votes
0 answers
Getting Cpu Speed using Command Prompt in windows 8
I need to get the CPU speed in Cpu tab in Task manager i.e at What Frequency CPU is running? . How Can I get that speed using command prompt?

Jaimin Mody
- 34
- 1
- 3
0
votes
1 answer
Get CPU frequency (Ghz) on android devices
I'm using the latest Unity 5 and working on android project. I found out that Unity can show processor type and core count by SystemInfo.processorType and SystemInfo.processorCount.
Could it be possible to show CPU freqeuncy in Ghz on any android…

Happy Face
- 1,061
- 7
- 18
0
votes
1 answer
CPU usage is extremely high with below code
I have used below code.
I'm new to PHP and Mysql...
Am I doing something wrong in loop.?
abc table has 70562 records ip2 table has 3833421 records..
Any suggestion for improvement.?
$sql = "SELECT * FROM abc where ip_country IS NULL";
$query =…

rf jm
- 33
- 1
- 5
0
votes
0 answers
Lock-based function runs faster than a no-locking one! Why?
While I was practicing lock-based vs. lock-free concurrency, I realised that my lock-based function takes less time than a function with no synchronisation:
// A simple money transfer function
void transfer(unsigned int from, unsigned int to,…

Benji Mizrahi
- 2,154
- 2
- 23
- 38
0
votes
1 answer
How can I reduce processing effectively using foreach inside another?
According to the following code, I have to set the value of objects from one list by getting the values from other objects. For the reason of reducing process, I'm deleting each object from the second list after setting value. Doing so, the second…

Lennon Spirlandelli
- 3,131
- 5
- 26
- 51
0
votes
1 answer
Can we measure the computing power of the Cray-II using the PassMark measure?
I want to measure the computing power of the Cray 2, circa 1985, using a measure we apply to modern computers (including phones).
Recently I've seen the Passmark measure used.
My question is: Can we measure [or extrapolate] the computing power of…

hawkeye
- 34,745
- 30
- 150
- 304
0
votes
0 answers
Mobile Processor Speed
How to know the speed of a Mobile Processor in instruction/second? The motive behind this is to find the computational time for a set of instruction and to check the performance.

Arif A.
- 933
- 8
- 14
0
votes
2 answers
Linux Taskset Command: Setting 100% CPU Usage for Mutiple Processes
Currently have a data-intensive process running on Ubuntu Version 11.04 that needs multiple CPU usage.
I wrote the command, given I have 4 cores
taskset -c 0,1,2,3 python sample.py
I am only achieving 100% on one CPU, and the others are idle…

Yuvraj Singh
- 11
- 1
0
votes
1 answer
Excel VBA slows down when excel is not the front window
I have many different VBA macros that are commanded to run by an analysis sequence this analyser sequence and a Labview VI also reads and takes information that has been calculated in the excel spreadsheet.
The analysis sequence has timers and…

MS Mike
- 1