int-1.d revision b4d35dedda4bab414ab7dbd94dde4587bd8168e7
/* $Id$ */
/** @file
* DTracing VBox - Interrupt Experiment #1.
*/
/*
* Copyright (C) 2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
unsigned int g_cHits;
/* /args[1] != 0/ */
{
}
/* /args[1] != 0/ */
{
printf("get: tag=%#x %llx - %llx = %llx", args[1], timestamp, g_aStarts[args[1]], timestamp - g_aStarts[args[1]]);
g_cHits++;
}
/g_cHits >= 512/
{
exit(0);
}
{
printf("\nInterrupt distribution:");
printa(@interrupts);
printf("Average dispatch latency:");
printf("Minimum dispatch latency:");
printf("Maximum dispatch latency:");
}