IT is important what the ECU(PCM) percieves as input but more important is the atmosferic conditions. What is the use to advance the timing when the day or the car or intake air flow is too hot. Instead of getting more timing you will get more KR since the car will knock more because it might be injecting more fuel that would detonate quicker than expected due to the higher temps. The PCM will then KR to protect your car. More KR means less power