Lines Matching refs:event

98 void latencyAddSample(char *event, mstime_t latency) {  in latencyAddSample()  argument
99 struct latencyTimeSeries *ts = dictFetchValue(server.latency_events,event); in latencyAddSample()
109 dictAdd(server.latency_events,zstrdup(event),ts); in latencyAddSample()
141 char *event = dictGetKey(de); in latencyResetEvent() local
143 if (event_to_reset == NULL || strcasecmp(event,event_to_reset) == 0) { in latencyResetEvent()
144 dictDelete(server.latency_events, event); in latencyResetEvent()
159 void analyzeLatencyForEvent(char *event, struct latencyStats *ls) { in analyzeLatencyForEvent() argument
160 struct latencyTimeSeries *ts = dictFetchValue(server.latency_events,event); in analyzeLatencyForEvent()
253 char *event = dictGetKey(de); in createLatencyReport() local
262 analyzeLatencyForEvent(event,&ls); in createLatencyReport()
266 eventnum, event, in createLatencyReport()
274 if (!strcasecmp(event,"fork")) { in createLatencyReport()
295 if (!strcasecmp(event,"command")) { in createLatencyReport()
311 if (!strcasecmp(event,"fast-command")) { in createLatencyReport()
317 if (!strcasecmp(event,"aof-write-pending-fsync")) { in createLatencyReport()
325 if (!strcasecmp(event,"aof-write-active-child")) { in createLatencyReport()
332 if (!strcasecmp(event,"aof-write-alone")) { in createLatencyReport()
339 if (!strcasecmp(event,"aof-fsync-always")) { in createLatencyReport()
344 if (!strcasecmp(event,"aof-fstat") || in createLatencyReport()
345 !strcasecmp(event,"rdb-unlik-temp-file")) { in createLatencyReport()
351 if (!strcasecmp(event,"aof-rewrite-diff-write") || in createLatencyReport()
352 !strcasecmp(event,"aof-rename")) { in createLatencyReport()
361 if (!strcasecmp(event,"expire-cycle")) { in createLatencyReport()
368 if (!strcasecmp(event,"eviction-del")) { in createLatencyReport()
373 if (!strcasecmp(event,"eviction-cycle")) { in createLatencyReport()
502 char *event = dictGetKey(de); in latencyCommandReplyWithLatestEvents() local
507 addReplyBulkCString(c,event); in latencyCommandReplyWithLatestEvents()
516 sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) { in latencyCommandGenSparkeline() argument
550 "%s - high %lu ms, low %lu ms (all time high %lu ms)\n", event, in latencyCommandGenSparkeline()
582 char *event; in latencyCommand() local
587 event = dictGetKey(de); in latencyCommand()
589 graph = latencyCommandGenSparkeline(event,ts); in latencyCommand()