Skip to content

Instantly share code, notes, and snippets.

@kimlindholm
kimlindholm / newrelic.h
Created February 13, 2012 14:56 — forked from jelder/newrelic.h
Add X-Request-Start header so we can track queue times in New Relic RPM
/*
* Add X-Request-Start header so we can track queue times in New Relic RPM
*/
#include <stdio.h>
#include <sys/time.h>
struct timeval detail_time;
gettimeofday(&detail_time, NULL);
char start[20];