Difference between revisions of "Timestamp"

From WA2IAC Wiki
Jump to: navigation, search
m (Generating Timestamps)
m (Generating Timestamps)
Line 18: Line 18:
  
 
Of course there are some other ways to do this: write a 'C' program (don't know if 'ts' is written in C or something else), try various other languages. However, the scope of this project was "quick & dirty" with the emphasis on quick. Nonetheless, I managed to carve out the time necessary to test the methods above.
 
Of course there are some other ways to do this: write a 'C' program (don't know if 'ts' is written in C or something else), try various other languages. However, the scope of this project was "quick & dirty" with the emphasis on quick. Nonetheless, I managed to carve out the time necessary to test the methods above.
 +
 +
Note that when debugging, we often want to 'tail' the output to watch what's going on in realtime, and possibly use our monkey minds to attempt to correlate with external events. Like so:
 +
 +
<pre>
 +
program_being_debugged 2>&1 | timestamp_generator | tail -f
 +
</pre>
 +
 +
In this case, it's important to minimize buffering along the pipeline so that output gets to our optical sensors as quickly as possible.
 +
 +
  
 
==Results==
 
==Results==

Revision as of 21:02, 6 July 2015