aboutsummaryrefslogtreecommitdiff
path: root/generic/perfos.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/perfos.c')
-rw-r--r--generic/perfos.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/generic/perfos.c b/generic/perfos.c
index 1a0f57c..1156ea6 100644
--- a/generic/perfos.c
+++ b/generic/perfos.c
@@ -1,8 +1,8 @@
/*
* perfos.c -- Perfos modules.
*
- * Authors : Patrick Lecoanet.
- * Creation date :
+ * Authors : Patrick Lecoanet.
+ * Creation date :
*
* $Id$
*/
@@ -39,7 +39,7 @@ static const char rcsid[] = "$Id$";
static const char compile_id[]="$Compile: " __FILE__ " " __DATE__ " " __TIME__ " $";
-static ZnList Chronos = NULL;
+static ZnList Chronos = NULL;
/*
@@ -50,8 +50,8 @@ static ZnList Chronos = NULL;
**********************************************************************************
*/
static void
-HardwareSynchronize(Display *test_display,
- Drawable test_window)
+HardwareSynchronize(Display *test_display,
+ Drawable test_window)
{
/*XImage *image;*/
@@ -68,14 +68,14 @@ HardwareSynchronize(Display *test_display,
**********************************************************************************
*
* GetUCTime - Return machine time. This is the sum of user and system
- * times for the process so far.
+ * times for the process so far.
*
**********************************************************************************
*/
static long
GetUCTime(void)
{
- struct tms time;
+ struct tms time;
times(&time);
return time.tms_utime + time.tms_stime;
@@ -119,7 +119,7 @@ XGetCurrentTime(Display *display, Drawable window)
*
* XCorrectionValue - Evaluate the correction value to apply
* to counter the client-server round trip
- * time.
+ * time.
*
**********************************************************************************
*/
@@ -238,8 +238,8 @@ ZnStopUCChrono(ZnChrono chrono)
void
ZnPrintChronos(void)
{
- int i, cnt;
- ZnChrono *chrs;
+ int i, cnt;
+ ZnChrono *chrs;
cnt = ZnListSize(Chronos);
chrs = (ZnChrono *) ZnListArray(Chronos);
@@ -262,9 +262,9 @@ ZnPrintChronos(void)
**********************************************************************************
*/
void
-ZnGetChrono(ZnChrono chrono,
- long *time,
- int *actions)
+ZnGetChrono(ZnChrono chrono,
+ long *time,
+ int *actions)
{
if (time) {
*time = chrono->total_delay*10;
@@ -283,10 +283,10 @@ ZnGetChrono(ZnChrono chrono,
**********************************************************************************
*/
void
-ZnResetChronos(ZnChrono chrono)
+ZnResetChronos(ZnChrono chrono)
{
- int i, cnt;
- ZnChrono *chrs;
+ int i, cnt;
+ ZnChrono *chrs;
if (chrono) {
chrono->actions = 0;
@@ -314,7 +314,7 @@ ZnResetChronos(ZnChrono chrono)
ZnChrono
ZnNewChrono(char *message)
{
- ZnChrono new;
+ ZnChrono new;
if (!Chronos) {
Chronos = ZnListNew(8, sizeof(ZnChrono));
@@ -338,9 +338,9 @@ ZnNewChrono(char *message)
**********************************************************************************
*/
void
-ZnFreeChrono(ZnChrono chrono)
+ZnFreeChrono(ZnChrono chrono)
{
- int i;
+ int i;
ZnChrono *chrs = ZnListArray(Chronos);
ZnFree(chrono);