Esempio n. 1
0
    private object Dump(List <object> param)
    {
        var sw = new Stopwatch();

        sw.Start();
        var h = dumper.dumpHierarchy();

        debugProfilingData ["dump"] = sw.ElapsedMilliseconds;
        return(h);
    }
Esempio n. 2
0
    private object Dump(List <object> param)
    {
        var onlyVisibleNode = true;

        if (param.Count > 0)
        {
            onlyVisibleNode = (bool)param[0];
        }
        var sw = new Stopwatch();

        sw.Start();
        var h = dumper.dumpHierarchy(onlyVisibleNode);

        debugProfilingData ["dump"] = sw.ElapsedMilliseconds;
        return(h);
    }