Low Cost Timing Facility for Production Programs
Original Publication Date: 1980-Jun-01
Included in the Prior Art Database: 2005-Feb-13
When writing an operating system application system or software, it is frequently highly desirable to incorporate timing facilities so that the most critical parts of the system can be discovered and improved. Ideally, the programs which make up the system should all have timing facilities built in during development in such a way that they can be easily removed for production. This is usually not possible and often the timing figures are not collected at all or are only collected for a few selected programs. A mechanism is described which has such a low overhead that it can safely be left in production code. This has the secondary advantage that the production system can be timed to check that the distribution of time is as expected and thus show up any changes that need to be made due to changing circumstances.