From 41e1d4961d473674e286743a282151a2800ee5b7 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 3 Jul 2019 22:05:58 +0200 Subject: nxagent: drop unused DisplayLatency --- nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Atoms.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c index bf64369eb..a27da0289 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c @@ -211,12 +211,8 @@ int nxagentQueryAtoms(ScreenPtr pScreen) int num_of_atoms = NXAGENT_NUMBER_OF_ATOMS; char *names[NXAGENT_NUMBER_OF_ATOMS]; - unsigned long int startingTime = GetTimeInMillis(); - #ifdef TEST fprintf(stderr, "nxagentQueryAtoms: Going to create the intern atoms on real display.\n"); - - fprintf(stderr, "nxagentQueryAtoms: Starting time is [%ld].\n", startingTime); #endif nxagentPrintAtomMapInfo("nxagentQueryAtoms: Entering"); @@ -317,14 +313,6 @@ int nxagentQueryAtoms(ScreenPtr pScreen) fprintf(stderr, "nxagentQueryAtoms: Created intern atom [%s] with id [%ld].\n", names[i], nxagentAtoms[i]); } - - #endif - - nxagentChangeOption(DisplayLatency, GetTimeInMillis() - startingTime); - - #ifdef TEST - fprintf(stderr, "nxagentQueryAtoms: Ending time is [%ld] reference latency is [%d] Ms.\n", - GetTimeInMillis(), nxagentOption(DisplayLatency)); #endif nxagentPrintAtomMapInfo("nxagentQueryAtoms: Exiting"); -- cgit v1.2.3