diff --git a/CHANGE_LOG.txt b/CHANGE_LOG.txt index 7052748..6d3349a 100644 --- a/CHANGE_LOG.txt +++ b/CHANGE_LOG.txt @@ -6,6 +6,10 @@ Changes: - fixed status register update bug (byte/word problem) - improved CC2420 implementation (including RSSI_VALID flag) - added SHT11 implementation for Tmote Sky +- added I/O ports -> timer capture functionality +- added SFD capture interrupt support for CC2420 +- improved correctness of timer when reconfiguring CPU clock speed (MCLK) + 0.93 Changes: diff --git a/se/sics/mspsim/util/SimpleProfiler.java b/se/sics/mspsim/util/SimpleProfiler.java index b6e7e7a..fcdfa9a 100644 --- a/se/sics/mspsim/util/SimpleProfiler.java +++ b/se/sics/mspsim/util/SimpleProfiler.java @@ -65,10 +65,17 @@ public class SimpleProfiler implements Profiler { } public void profileCall(MapEntry entry, long cycles) { -// System.out.println("Call at: " + Utils.hex16(reg[PC])); if (callStack[cSP] == null) { callStack[cSP] = new CallEntry(); } + +// String s = ""; +// for (int i = 0; i < cSP; i++) { +// s += " "; +// } +// System.out.println(s + "Call to: " + entry); + + callStack[cSP].function = entry; callStack[cSP].calls = 0; callStack[cSP++].cycles = cycles;