timing
How to measure CPU cycles per instruction in a C program
I have a C program where I am starting to use some SIMD optimizations for the SPE (Cell processor), etc. I would like somehow to \"time\" how many cycles do they need. One idea is to switch on/off and[详细]
2023-01-23 10:40 分类:问答Measuring total CPU time of a program that uses precompiled libraries (C++, Linux)
I am currently stumbled into this problem and I\'d love to hear some suggestions from you. I have a C++ program that uses a precompiled library to make some queries to PostgreSQL database. Now the pr[详细]
2023-01-20 20:05 分类:问答When/where to startUpdatingLocation?
The determination of a position takes some time. When and where should the location manager be started?[详细]
2023-01-19 07:41 分类:问答winapi threads take time to initialise before message passing works?
I have a main program that creates the threads in order: ThreadB then ThreadA (which is passed ThreadB\'s ID)[详细]
2023-01-18 13:03 分类:问答slow down gdb to reproduce bug
I have a timing bug in my application which only occurs when I use valgrind, because valgrind slows down the process so much.[详细]
2023-01-18 11:22 分类:问答sysopen permission denied
I\'m trying to fix an intermittent bug in git-svn. The problem is happening in Windows XP only, with both Cygwin git (perl v5.10.1) and msysGit (perl v5.8.8).[详细]
2023-01-18 01:32 分类:问答How do I measure how long a (linux C) function takes to execute?
I have a particular function (well, set of functions) that I want to start every 400ms. I\'m not much of a C programmer, and so anything outside of 开发者_开发技巧the standard libraries is a mystery t[详细]
2023-01-16 06:47 分类:问答Why does my timing code always return 0?
i was optimizing my html5 game engine for performance issues and i want to know how much time a render process needs.So i got a bunch of render function开发者_开发问答s.Each of them render seperated p[详细]
2023-01-15 20:04 分类:问答Timing accuracy in Flash
Does anyone know how accurate flash timing is and its ability to identify the client monitor\'s refresh rate?I need to be able to calculate time durations with up to 10 milliseconds accuracy of respon[详细]
2023-01-15 18:55 分类:问答Why does mysql_query() sometimes require 0.1 of a second on a query that executes fast
I’ve noticed that sometimes mysql_query() on particular query in my script executes immediately and sometimes it takes (almost exactly)开发者_StackOverflow中文版 0.1 of a second. I wrote a simple scr[详细]
2023-01-12 18:57 分类:问答