| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index cf5a81b7997b992a2d630edf148c02b9dbd31682..83d8e2664cd70cc9b4cea2fcc69e12af943a0a6f 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -71,8 +71,11 @@ void Cfg::translate() {
|
| return;
|
| VerboseMask OldVerboseMask = getContext()->getVerbose();
|
| const IceString &TimingFocusOn = getContext()->getFlags().TimingFocusOn;
|
| - if (TimingFocusOn == "*" || TimingFocusOn == getFunctionName())
|
| + if (TimingFocusOn == "*" || TimingFocusOn == getFunctionName()) {
|
| setFocusedTiming();
|
| + getContext()->resetTimer(GlobalContext::TSK_Default);
|
| + getContext()->setTimerName(GlobalContext::TSK_Default, getFunctionName());
|
| + }
|
| bool VerboseFocus =
|
| (getContext()->getFlags().VerboseFocusOn == getFunctionName());
|
| if (VerboseFocus)
|
|
|