Open main menu

CDOT Wiki β

Changes

GPU610/DPS915 Team 7 Project Page

162 bytes added, 20:35, 18 February 2018
Profiling and Analysis
[[File:AM_ReportTime.png|500px]]
Analysis of the code shows that ''main'' calls ''ChessBoardTest'' which calls ''SaveImage''. Based on the profiling results above, the application spends the majority of its time in ''SaveImage''. Analyzing the code also shows that the rest of the methods listed above ('''CalculateLighting''', '''CalculateRefraction'SaveImage'', 'calls ''TraceRay''', '''CalculateMatte''', etcin a nested loop as follows:<code> <nowiki> for (size_t i=0; i < largePixelsWide; ++i) { ......  for (size_t j=0; j < largePixelsHigh; ++j) { ...... TraceRay() are called directly or indirectly from '''SaveImage'''; ...... } } </nowiki></code>
== Assignment 2 ==
== Assignment 3 ==
100
edits