Questions tagged [cpu-speed]

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.

203 questions
0
votes
0 answers

increase CPU availability for objective C simulator

I am looking for a way to increase the available CPU capacity for a objective C program that i have written. When simulating my program CPU usages jumps up quickly to 100% but I recon it is not fully using the CPU capacity of my Mac Pro. If I run my…
0
votes
1 answer

Fast CPU masks test errors

I have a Node.js application which I'm testing with Mocha on a fast(ish) dev machine. I've noticed that sometimes the fast CPU will mask some errors. If the tests are run on a machine with a slower CPU these errors starting showing up. Question: Is…
Guy
  • 65,082
  • 97
  • 254
  • 325
0
votes
1 answer

What is the fastest way to read a data frame in R compared to Stata?

I have this data set with 57000 rows and 5500 columns. They are both numeric and character variables. I originally downloaded the data in .dta format and it is quite quick for Stata to read it. It takes .13 scones to do it, when I time it using the…
Doon_Bogan
  • 359
  • 5
  • 17
0
votes
0 answers

what is a cross processor speed unit?

I'm doing stress test against some application for CPU usage but i don't know which hardware it is going to be deployed, I'm looking for some sort of cross processor unit to give an exact information about CPU usage on any kind of CPU to my…
sia
  • 401
  • 3
  • 8
  • 20
0
votes
2 answers

How many CPU cycles does it takes to convert a String to an Integer?

This depends on the length of the string, so let's take 3 cases : the easiest case, the worst case and a middle one. All for a 32bit unsigned integer. The values will be 0, 4294967295 and 67295 (half length string). Let's say it runs on a modern…
bokan
  • 3,601
  • 2
  • 23
  • 38
0
votes
0 answers

Use root-account once, to allow change of CPU-governor without root in future

I'm the developer of a root-app with hundred thousand of users. Trying to avoid to ask users for root all the time they are doing a root-requiring command, I'm always searching for tricks around - so my users are as less disturbed as possible by…
Martin L.
  • 3,006
  • 6
  • 36
  • 60
0
votes
1 answer

Matlab vectorization of multiple embedded for loops

Suppose you have 5 vectors: v_1, v_2, v_3, v_4 and v_5. These vectors each contain a range of values from a minimum to a maximum. So for example: v_1 = minimum_value:step:maximum_value; Each of these vectors uses the same step size but has a…
1QuickQuestion
  • 417
  • 6
  • 16
0
votes
0 answers

How to speed up pixel rendering in LWJGL?

I was just trying out different ways of rendering with LWJGL. I came across this method glDrawPixels(width, height, format, type, bytebuffer). So with this method I decided to try rendering just pixels in LWJGL and came up with this: package…
nedb
  • 586
  • 1
  • 4
  • 12
0
votes
0 answers

Some of the threads in my program are not getting the CPU cycle

I have a program in which I have created 160 threads-- for working on data directed to them respectively and 1 thread-- which holds the data in a map. All the threads are been created while running the program. problem: At times my some threads out…
0
votes
1 answer

How do i calculate the average cpi?

Im kinda stuck on some work. To find the the cpi i would need to multiply the percentage of instructions with the clock cycle but what is shown is avg stall cycles. I don't really understand how to approach this problem. Any help would be…
user3562229
  • 1
  • 1
  • 2
0
votes
0 answers

Calculating MIPS for multi-cycle vs single-cycle and getting weird answer

I've got a problem where I need to calculate the MIPS for two systems, one single-cycle, and one multi-cycle. I don't think I'm doing the math right, and I was hoping someone would be kind enough to explain what I'm missing. Calculating GHz For my…
SemperCallide
  • 1,950
  • 6
  • 26
  • 42
0
votes
2 answers

Can you/How do you save CPU and memory by choosing wisely

I understand the JVM optimizes some things for you (not clear on which things yet), but lets say I were to do this: while(true) { int var = 0; } would doing: int var; while(true) { var = 0; } take less space? Since you aren't declaring a…
Vince
  • 14,470
  • 7
  • 39
  • 84
0
votes
1 answer

VBA - Why my CPU usage is not 100%

I used VBA under Excel in order to treat some data (input is .XML files). XML file size is around 30MB and i have some computations on each entry of the file. My computer ran on Windows 7 64 bits under Core i5 (4 core when I look in task manager)…
maxic31
  • 1
  • 1
0
votes
1 answer

Processing Time for plotting and numeric calculation in Matlab

I have a function which in total takes 34s and I want to speed this up. The 2 slowest functions are: 1) I have a very simple function file: function [x] = percentChange(startPoint, currentPoint) x = ( (currentPoint-startPoint)/abs(startPoint)…
user84112
  • 5
  • 3
0
votes
2 answers

Animation speed on different devices

I have a simple translation animation in an Android game I am developing. When I test it on several devices, it runs at very different speeds on 10-inch tablets, 7-inch tablets and smartphones. What is the "state of the art" way of getting a…
Daniel1402
  • 33
  • 11