A client needs my company to develop an app that will be able to measure the programmer productivity, by getting information from VS, IE, SSMS, profiler and VMware.
For example:
Lines, Methods, Classes (Added, Deleted, Modified)
How many time spent in certain file, class, method, specific task, etc.
How many time in different stages o...
ASP has a MeasureString function that returns the width, in pixels, of a string given a certain font/size. Is this possible in PHP?
...
I have a need to measure a room (if possible) from within an iPhone application, and I'm looking for some ideas on how I can achieve this. Extreme accuracy is not important, but accuracy down to say 1 foot would be good. Some ideas I've had so far are:
Walk around the room and measure using GPS. Unlikely to be anywhere near accurate en...
I am taking a course on computational geometry in the fall, where we will be implementing some algorithms in C or C++ and benchmarking them. Most of the students generate a few datasets and measure their programs with the time command, but I would like to be a bit more thorough.
I am thinking about writing a program to automatically gen...
(Not strictly programming, but a question that programmers need answered.)
I have a benchmark, X, which is made up of a lot of sub-benchmarks x1..xn. Its quite a noisy test, with the results being quite variable. To accurately benchmark, I must reduce that "variability", which requires that I first measure the variability.
I can easily...
Is there any way to measure a specific process CPU usage by cores?
I know top is good for measuring the whole system's CPU usage by cores and taskset can provide information about which CPU core is allowed for the process to run on.
But how to measure a specific process' CPU usage by CPU cores?
...
Hello everyone!
I want to translate measurements that Zend_Measure returns.
Something like:
10 hours (en_US)
in my language
10 часа (bg - Bulgarian)
I found out that there is an archive with translations that i need - Zend/Locale/Data
There are a bunch of .xml files, many of them have translations for measurements.
My idea is to us...
Just back from a very nice vacation in Iceland, and await the data roaming bill from my phone company. I hope for the best having limited my traffic as much as possible, but I want to know in advance. I used the very nice app NetCounter but it didn't measure roaming data traffic at all.
So I want to build my own app measuring just roami...
I'm currently using visualvm, but the problem I'm having is that I can't save the graphs it generates. I need to report some data about its memory usage and running time, though running time is easy to get with System.nanoTime(). I've also tried the netbeans profiler but it isn't what I want, since I'm not looking for specific parts that...
I'd like to measure the amount of time taken to complete a rapid event but the time taken is comparable to the accuracy of my timer. Can I measure the distribution of times taken to perform the operation several times and then reverse engineer the underlying distribution, i.e. solve p₁= p₂* p₂ using deconvolution?
...
I want to simulate/measure the lifetime of a 3V coin battery. This is the circuit which will give the burst to the battery:
link text
The burst is controlled with the CTRL1 and CTRL2 lines with some timing rquirements.
One burst is:
ARM TX RX TX RX TX
CTRL1 L H H H H H...
I want to stop my measurement (right side od the VI) when the user defined stop voltage has arrived in the measurement. But I do not know how I can read the voltage value from the waveform (DBL) 1d Array and compare it with the user typed stop voltage? Hope someone can help me with that. I have attached a snippet of my VI. You can use th...
I'm curious about what technique fast applications (maybe Safari is a better example here) do to calculate the height of a terribly long page of text (for example, a chat log or a huge document).
Considering there is a huge amount of text with the same line height, this is already something that can be multiplied by the number of those ...
I have a textblock that contains some text but the text is always going to vary length and I need to render a bitmap out of this textblock. The problem is the textblock doesn't have a height, width, actual height, actual width, or desired size since I set the height and width to Double.NaN so the textblock would auto size. This causes ...
I can compute horizontal and vertical points, but I cant figure out how to compute distance using diagonal points. Can someone help me with this.
here's the code for my horizontal and vertical measuring:
private float ComputeDistance(float point1, float point2)
{
float sol1 = point1 - point2;
float sol2 = (float)Math.A...
There seems to be a bit of an issue with two grids containing elements specified in a certain way, and the SharedSizeGroup.
This question is in response to an earlier question from user D.H. I attempted to answer. Forgive the length, but it helps to demonstrate the problem visually.
His original question asked why two grids with a Sh...
Hi! I need to measure the throughput of an android device. I was thinking of measuring it using a simple client-server code working with TCP, which should be quite simple. Would you say the TCP overhead would lead to an approximation within 10%/20% of the real throughput? Thanks!
...
Hello everybody.
I want to run an infinite loop for a while. Basically, i want to have something like this
//do something
while(1){
//do some work
}
//do some other thing
but i want the running time of the loop to be fixed, example, the loop could be running for 5 seconds.
Do somebody have an idea?
...
Hi,
I was curious as to how is cache performance measured. Can you do it programmatically or do you need specialized tools for this purpose? Does the programming language being used matter?
Thanks,
Abhinav.
...
Hi,
Can anyone suggest some good resources and/or books on profiling, importance of profiling, profiling techniques?
thanks
...