The timing tag has no wiki summary.
0
votes
0answers
2 views
Timing and Position Triangulation Using Sensors
Say I have 3 vibration sensors around in a room. How would I determine the location of someone in the room using these vibration sensors. If I used an fpga I'm sure it could sample fast enough to ...
-1
votes
0answers
12 views
Indicating next departure in real time
I have a code allowing to announce a future event according to a date (numbers of days between two dates..) and i would like to alter it to make it work between hours/minutes of the day (ie. giving ...
0
votes
0answers
10 views
Mailbox Message Flow Control
I previously implemented a mailbox in C++ that copies the behavior of a SystemVerilog mailbox: http://www.asic-world.com/systemverilog/sema_mail_events2.html
The two main mailbox functions used are ...
0
votes
0answers
22 views
Javascript setInterval issues – Flashing back and forth
I am having a little trouble getting my setInterval code to work. It is held within a click event. The first part works great but when I click a second time, it just flashes back and forth.
if ...
0
votes
0answers
16 views
Quirk with KeyDown event timing, how can I bypass it?
I have a method which decreases the value of a variable while a key is pressed (such as the spacebar). The variable is displayed on a label in a windows form. Trouble is, when I hold down the key, the ...
0
votes
2answers
46 views
AngularJS Directive scope not binding in time
I'm having a binding timing issue with my AngularJS directive. Its controller looks like this:
controller: function($element, $scope)
{
$element.find("input").bind("blur", function()
{
...
1
vote
2answers
25 views
Prevent context-switching in timed section of code (or measure then subtract time not actually spent in thread)
I have a multi-threaded application, and in a certain section of code I use a Stopwatch to measure the time of an operation:
MatchCollection matches = regex.Matches(text); //lazy evaluation
Int32 ...
2
votes
1answer
38 views
Controlling Thread Execution Time in Python
Is it possible to control the proportional execution time of a thread in python. For example, I have three functions F1, F2 and F3 in my program. I am calling each function with using start_new_thread ...
0
votes
1answer
27 views
Reducing Jitter in HTML5/Javascript App
I'm building for a hobby a metronome in JavaScript/HTML5 (should be eventually a FirefoxOS app). The problem I have is Jitter, which is a no-go for Metronomes. I understand that JavaScript is ...
0
votes
0answers
21 views
Coordinating AudioUnit play: why is NSLog needed?
This is really crazy. I'm using an AudioUnit to play a series of tones (with rests/silences between). Maybe there's a problem with threading? My code 'works,' but without the NSLog, only the first ...
0
votes
1answer
18 views
When using the Python Image Library, does open() immediately decompress the image file?
Short question
When using the Python Image Library, does open() immediately decompress the image file?
Details
I would like to measure the decompression time of compressed images (jpeg, png...), as ...
0
votes
2answers
39 views
Repeat forever but report each x seconds
I'm trying to benchmark how many times a function is able to run in, say 10 seconds using this code:
import time
window = 10
while True:
n = 0
while time.time() % window:
test() ...
0
votes
1answer
14 views
resume timing in task scheduler?
i am trying to make a program run for 13 hours every 7 days and then the program will stop and the task will end. However i may turn off my computer during that time and then do you know if when i ...
2
votes
2answers
76 views
Arduino millis funcion taking longer than expected
I'm trying to make my Arduino sketch sleep 1 seconds on every execution of the loop function.
The methods involved on the loop may vary their execution time, and that's why I implemented millis.
I'm ...
1
vote
2answers
35 views
setTimeout inside $.each won't respect the timing
I want to backup, delete every item in a list, and append each one after 1 second.
I am trying like this:
var backup = $('#rGallery').html();
$('#rGallery li').remove();
...