Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31ddcde6 authored by Yangster-mac's avatar Yangster-mac
Browse files

Log the elapsed realtime in non-chained interface.

Test: statsd test
Change-Id: I61e457bd069147fd1b1fc964b27d42d4ec19230d
parent 9a7b7adc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -214,6 +214,7 @@ static int write_stats_log_cpp(FILE *out, const Atoms &atoms,
        fprintf(out, "{\n");
        argIndex = 1;
        fprintf(out, "    android_log_event_list event(kStatsEventTag);\n");
        fprintf(out, "    event << android::elapsedRealtimeNano();\n\n");
        fprintf(out, "    event << code;\n\n");
        for (vector<java_type_t>::const_iterator arg = signature->begin();
            arg != signature->end(); arg++) {