This commit is contained in:
Félix Baylac-Jacqué 2019-10-11 14:17:56 +02:00
parent 5720e9e6c4
commit 6545604030
2 changed files with 5 additions and 0 deletions

View File

@ -990,7 +990,10 @@ void ExprSelect::eval(EvalState & state, Env & env, Value & v)
if (vAttrs->type != tAttrs ||
(j = vAttrs->attrs->find(name)) == vAttrs->attrs->end())
{
std::cout << "Going into " << name << std::endl;
state.profState
def->eval(state, env, v);
std::cout << " " << name << std::endl;
return;
}
} else {

View File

@ -280,6 +280,7 @@ public:
void printStats();
void realiseContext(const PathSet & context);
ProfilerState profState;
private:
@ -354,6 +355,7 @@ public:
private:
std::vector<ProfCostOcc> stackedMeasurements;
string funcName;
int currentNestedLevel;
/* We index every func and file to leverage Callgrind's string compression.
See section "3.1.6.<2E>Subposition Compression" section from [callgrindSpec]. */
std::map<CompressedFuncId,FunctionName> funcMap;