User Tools

Site Tools


notes:comporg:spring2025:projects:pncx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:comporg:spring2025:projects:pncx [2025/04/03 14:56] – [Darkmoon pnc0 runtimes] cgrant9notes:comporg:spring2025:projects:pncx [2025/04/24 06:02] (current) – [BrandonD pnc1 runtimes] bdildine
Line 24: Line 24:
  
 ===Printing Seconds=== ===Printing Seconds===
 +The amount of runtime a method takes can be measure in both cycle count and frame count. Since the cycle count resets every frame, frame count is needed for any time over 1/60th of a second
 +
 +The Frame count can be added onto the cycle count to find a total time count. To do this the frame count needs to be multiplied by the number of cycles in a frame
 +
 +Printing out the time can be separated into the whole portion and the fractional portion
 +
 +The whole and fractional part can be found by dividing the cycle count by the amount of cycles in a unit of time (seconds for whole, milliseconds for fractional)
 +
 +<code>
 +ADD FRAME TIME TO CYCLE TIME
 +DIVIDE THE CYCLE TIME BY THE CYCLES PER SECOND
 +PRINT THE WHOLE PORTION
 +
 +MODULATE THE CYCLE TIME BY THE CYCLES PER SECOND
 +DIVIDE THE CYCLE TIME BY THE CYCLES PER MILLISECOND
 +   ADD ZEROS TO THE LEFT UNTIL STRING IS THE CORRECT LENGTH
 +PRINT THE FRACTIONAL PORTION
 +</code>
 ====variant: break on composite (BOC)==== ====variant: break on composite (BOC)====
 ====variant: odds-only processing==== ====variant: odds-only processing====
Line 81: Line 99:
 </dataplot> </dataplot>
 ====Darkmoon pnc0 runtimes==== ====Darkmoon pnc0 runtimes====
-{{ :notes:comporg:spring2025:projects:brute_.png?600 |}}+{{ :notes:comporg:spring2025:projects:dm_pnc0.png?600 |}} 
 +====Darkmoon pnc1 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:dm_pnc1.png?600 |}} 
 +====Darkmoon pnc2 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:dm_pnc2.png?600 |}} 
 + 
 + 
 +====TommyK pnc0 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:tommyk_pnc0.png?600 |}} 
 +====TommyK pnc1 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:tommyk_pnc1_linear.png?600 |}} 
 +{{ :notes:comporg:spring2025:projects:tommyk_pnc1_log.png?600 |}} 
 + 
 +====TommyK pnc2 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:tommyk_pnc2_linear.png?600 |}} 
 +{{ :notes:comporg:spring2025:projects:tommyk_pnc2_log.png?600 |}} 
 + 
 +====BrandonD pnc0 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:bd_pnc0.png?600 |}} 
 + 
 +====BrandonD pnc1 runtimes==== 
 +{{ :notes:comporg:spring2025:projects:bd_pnc1graph.png?600 |}}
  
 +====BrandonD pnc2 runtimes====
 +{{ :notes:comporg:spring2025:projects:bd_pnc2graph.png?600 |}}
  
notes/comporg/spring2025/projects/pncx.1743692209.txt.gz · Last modified: 2025/04/03 14:56 by cgrant9