]>
git.saurik.com Git - redis.git/blob - src/slowlog.h
bad770db49f663a8774b9599bcef67006d60bd4c
1 /* This structure defines an entry inside the slow log list */
2 typedef struct slowlogEntry
{
5 long long id
; /* Unique entry identifier. */
6 long long duration
; /* Time spent by the query, in nanoseconds. */
7 time_t time
; /* Unix time at which the query was executed. */
11 void slowlogInit(void);
12 void slowlogPushEntryIfNeeded(robj
**argv
, int argc
, long long duration
);
14 /* Exported commands */
15 void slowlogCommand(redisClient
*c
);