67 lines
2.1 KiB
Text
67 lines
2.1 KiB
Text
$NetBSD: patch-ao,v 1.4 2001/05/24 19:51:47 dmcmahill Exp $
|
|
|
|
--- tracer/trcfile.c.orig Mon Nov 2 09:35:57 1998
|
|
+++ tracer/trcfile.c Tue May 15 23:09:24 2001
|
|
@@ -620,5 +620,5 @@
|
|
for ( i=0 ; i < DD->num ; i++ )
|
|
{
|
|
- fprintf( ID->trace_out, "%lf, %lf",
|
|
+ fprintf( ID->trace_out, "%f, %f",
|
|
TRC_ARR_VALUE_OF( DD->data, double, 2 * i ),
|
|
TRC_ARR_VALUE_OF( DD->data, double,
|
|
@@ -639,5 +639,5 @@
|
|
for ( i=0 ; i < DD->num ; i++ )
|
|
{
|
|
- fprintf( ID->trace_out, "%lf",
|
|
+ fprintf( ID->trace_out, "%f",
|
|
TRC_ARR_VALUE_OF( DD->data, double, i ) );
|
|
|
|
@@ -1129,5 +1129,5 @@
|
|
for ( i=0 ; i < num ; i++ )
|
|
{
|
|
- fprintf( ID->trace_out, "%lf, %lf",
|
|
+ fprintf( ID->trace_out, "%f, %f",
|
|
upk_double[ 2 * i ],
|
|
upk_double[ (2 * i) + 1 ] );
|
|
@@ -1150,5 +1150,5 @@
|
|
for ( i=0 ; i < num ; i++ )
|
|
{
|
|
- fprintf( ID->trace_out, "%lf", upk_double[i] );
|
|
+ fprintf( ID->trace_out, "%f", upk_double[i] );
|
|
|
|
if ( i < num - 1 )
|
|
@@ -1736,5 +1736,5 @@
|
|
for ( i=0 ; i < trptr->num ; i++ )
|
|
{
|
|
- fprintf( ID->trace_out, "%lf",
|
|
+ fprintf( ID->trace_out, "%f",
|
|
TRC_ARR_VALUE_OF( trptr->value, double, i ) );
|
|
|
|
@@ -2011,5 +2011,5 @@
|
|
trc_store_event_header( ID, TRC_OUTPUT_TEVDESC, tid );
|
|
|
|
- fprintf( ID->trace_out, "%d, %ld, %d",
|
|
+ fprintf( ID->trace_out, "%ld, %ld, %d",
|
|
TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, tid );
|
|
|
|
@@ -2095,5 +2095,5 @@
|
|
trc_store_event_header( ID, TRC_HOST_ADD_TEVDESC, H->pvmd_tid );
|
|
|
|
- fprintf( ID->trace_out, "%d, %ld, %d",
|
|
+ fprintf( ID->trace_out, "%ld, %ld, %d",
|
|
TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, H->pvmd_tid );
|
|
|
|
@@ -2142,5 +2142,5 @@
|
|
trc_store_event_header( ID, TRC_HOST_DEL_TEVDESC, tid );
|
|
|
|
- fprintf( ID->trace_out, "%d, %ld, %d",
|
|
+ fprintf( ID->trace_out, "%ld, %ld, %d",
|
|
TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, tid );
|
|
|
|
@@ -2193,5 +2193,5 @@
|
|
/* matching { */
|
|
|
|
- fprintf( ID->trace_out, "%d, %ld, %d, %d, %ld };;\n",
|
|
+ fprintf( ID->trace_out, "%ld, %ld, %d, %ld, %ld };;\n",
|
|
TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, H->pvmd_tid,
|
|
H->delta.tv_sec, H->delta.tv_usec );
|