Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison MasterLoop.c @ 140:2c8f3cf6c058
Free memory calculation
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 19 Sep 2011 18:43:08 +0200 |
| parents | 99343ffe1918 |
| children |
comparison
equal
deleted
inserted
replaced
| 41:525e292942c3 | 42:a7aa26188b56 |
|---|---|
| 105 //Sept 2011 | 105 //Sept 2011 |
| 106 //Old code jumped directly to this point, but doesn't work on x64 | 106 //Old code jumped directly to this point, but doesn't work on x64 |
| 107 // So, just make this an endless loop, and do assembly function at end | 107 // So, just make this an endless loop, and do assembly function at end |
| 108 // that saves its own return addr, then jumps to core_loop. | 108 // that saves its own return addr, then jumps to core_loop. |
| 109 while(1) | 109 while(1) |
| 110 { | 110 { |
| 111 //============================= MEASUREMENT STUFF ======================== | 111 //============================= MEASUREMENT STUFF ======================== |
| 112 #ifdef MEAS__TIME_MASTER | 112 #ifdef MEAS__TIME_MASTER |
| 113 //Total Master time includes one coreloop time -- just assume the core | 113 //Total Master time includes one coreloop time -- just assume the core |
| 114 // loop time is same for Master as is for AppVPs, even though it may be | 114 // loop time is same for Master as is for AppVPs, even though it may be |
| 115 // smaller due to higher predictability of the fixed jmp. | 115 // smaller due to higher predictability of the fixed jmp. |
