Home | History | Annotate | Download | only in jni

Lines Matching refs:fprintf

40   fprintf(out_, "{\"start_ts\": \"%llu\", \"snapshots\":[\n",
54 fprintf(out_, ",\n");
58 fprintf(out_, ",\n");
65 fprintf(out_, "],\n");
67 fprintf(out_, "}\n");
135 fprintf(out_, "{\"ts\":\"%llu\",\"memdump\":{\n", snapshot_timestamp_);
139 fprintf(out_, "\"%d\":{", process->pid);
141 fprintf(out_, "\"vm\":%llu,\"rss\":%llu",
144 fprintf(out_, ",\"oom_sc\":%d,\"oom_sc_adj\":%d"
152 fprintf(out_, ",\"pss\":%llu,\"swp\":%llu"
160 fprintf(out_, ",\"gpu_egl\":%llu,\"gpu_egl_pss\":%llu"
174 fprintf(out_, ", \"mmaps\":[");
178 fprintf(out_,
188 fprintf(out_, ", ");
190 fprintf(out_, "]");
194 fprintf(out_, "},\n");
196 fprintf(out_, "}}\n");
198 fprintf(out_, "}");
202 fprintf(out_, "\"processes\":{");
205 fprintf(out_, "\"%d\":{", process->pid);
206 fprintf(out_, "\"name\":\"%s\"", process->name);
209 fprintf(out_, ",\"exe\":\"%s\",", process->exe);
210 fprintf(out_, "\"threads\":{\n");
214 fprintf(out_, "\"%d\":{", thread->tid);
215 fprintf(out_, "\"name\":\"%s\"", thread->name);
218 fprintf(out_, "},\n");
220 fprintf(out_, "}\n");
222 fprintf(out_, "}");
226 fprintf(out_, "},\n");
228 fprintf(out_, "}\n");
230 fprintf(out_, "}");
236 fprintf(out_, "{\"ts\":\"%llu\",\"meminfo\":{\n", time_utils::GetTimestamp());
239 fprintf(out_, ",");
240 fprintf(out_, "\"%s\":%llu", it->first.c_str(), it->second);
242 fprintf(out_, "}}");