Revision 2.14 92/09/92 19:32:25 monster Fixed the problem where MLog would not record the CPU times of Tasks if it had already processed 125 Tasks Revision 2.13 92/09/29 21:58:15 monster Zerod out the Task address in RemTask of cputime Revision 2.12 92/09/27 19:32:17 monster Change to myswitch so tasks records are recorded properly ( Nothing to do with the problem solved in 2.14 ) Revision 2.11 92/09/25 19:44:14 monster Put the 3 ds.b sections into a BSS SECTION to make the executable smaller on the disk Revision 2.10 92/09/24 19:31:18 monster Had a d7:d6 instead of d7:d6 in RemTask68020, gave False times Revision 2.9 92/09/22 23:17:16 monster D7 was being trashed by some routine, thus we did not get the correct time used in the last time slice ( RemTask ), thus sometimes gave us lower CPU usage figures. Fixed by saving D7 and restoring it ( This was not so as the problem was eventually fixed in 2.14 ) Revision 2.8 92/09/21 09:27:49 monster Decreased the buffer sizes from 15000 to 8000 bytes Each entry will not be greater than 250 bytes Now checks for new info every 2 seconds instead of 4 seconds Revision 2.7 92/09/20 16:35:24 monster UnLoadSeg now tells you what program is doing the UnLoad Cleaned up some more Code for performance and deleted redundant Code Revision 2.6 92/09/20 13:27:19 monster Added CreateProc and NewCreateProc Cleaned up some code for better performance Revision 2.5 92/09/18 15:37:00 monster Now logs LoadSeg NewLoadSeg and UnoadSeg as well Streamlined some code. Changed the Requestor info in HELP Fixed bug when a Call to DOS routines to get the Date and Time would return with Interrupts Enabled as I did not INC the IDNestCnt Revision 2.4 92/09/13 16:21:49 monster Nasty bug fix, I previously deleted some lines of code when we were closing up shop. This meant a nasty hang as we could not SetFunction back to the origanal state. Revision 2.3 92/09/13 15:36:40 monster BUG Fix - did a move.l instead of move.w to buff_len which is a WORD not LONG Cleaned up some code and some requestors Revision 2.2 92/09/13 00:32:57 monster Fixed MAJOR bug when running on 68000 that crept in Now shows CPU time used by TASK Detects when a 68020 or better is present and if so it will use code written for 68020 Changed some of the Requestors that were not up to date Revision 2.1 92/09/09 22:07:40 monster Now also logs the end time of tasks as well as the start time and also adds the Tasks address for both start and end times. Increased the buffers to 15000 bytes as I have changed the wait time from 600000 microseconds to 2 seconds and 675000 micros. This allows the logging to occur with no loss of information even if you run DiskSpeed on your partition as well as starting lots of programs via the WorkBench to put a high load on DOS. Revision 2.0 92/09/08 23:23:09 monster Changed the way that it gathers and writes the information My AddTask now just writes its info out to a 10000 byte buffer. If the buffer is full, it skips it. The main program uses the Timer Device to wait a set period of time then it checks to see if we are going down, if not, we check to see if there is any data to write, if there is, we copy the data to another 10000 byte buffer and write it to the file. If we are going down, we still check to see if there is anything in the buffer to write before we die. This has fixed the problem with PCWindow and MLog can now be placed at the start of your startup-sequence as long as you assign LOG: to somewhere. Revision 1.4 92/09/06 12:50:09 monster Not many changes at all, but V2 will have some Revision 1.3 92/08/27 21:39:41 monster Added new options - H h ? for the help requestors Added new requestor for an invalid option Revision 1.2 92/08/27 20:01:05 monster Added code so that the DOS requestor will not appear when we try to see if LOG:Mlog.log exists when we start up. Moved the file check code ( see if LOG: exists ) into the main program Fixed up some spelling errors Revision 1.1 92/08/24 21:10:26 monster Performance enhancements Changed some move.b to move.l and move.w when copying the string to the output buffer Cut out some loops by using the above, this made the code slightly bigger but quicker in the AddTask function Revision 1.0 92/08/23 22:04:15 monster Initial revision