summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-04-04 22:15:58 +0000
committerjbj <devnull@localhost>2003-04-04 22:15:58 +0000
commit0bb715a528359c01b6077f850ab0bc2e0f5e8c55 (patch)
tree516c8a84f5beac48c8d117b7a934e9c94c2a79ca /rpmio
parentb18870666993f4f0e3679872bd0b168d6176320e (diff)
downloadlibrpm-tizen-0bb715a528359c01b6077f850ab0bc2e0f5e8c55.tar.gz
librpm-tizen-0bb715a528359c01b6077f850ab0bc2e0f5e8c55.tar.bz2
librpm-tizen-0bb715a528359c01b6077f850ab0bc2e0f5e8c55.zip
Accumulate compress/uncompress times.
CVS patchset: 6733 CVS date: 2003/04/04 22:15:58
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio_internal.h1
-rw-r--r--rpmio/rpmsw.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h
index ec895af44..26014d9cc 100644
--- a/rpmio/rpmio_internal.h
+++ b/rpmio/rpmio_internal.h
@@ -115,7 +115,6 @@ enum FDSTAT_e {
* Cumulative statistics for a descriptor.
*/
typedef /*@abstract@*/ struct {
- struct rpmsw_s begin; /*!< Operation start time. */
struct rpmop_s ops[4]; /*!< Cumulative statistics. */
} * FDSTAT_t;
diff --git a/rpmio/rpmsw.c b/rpmio/rpmsw.c
index 89333b0f2..d96954abf 100644
--- a/rpmio/rpmsw.c
+++ b/rpmio/rpmsw.c
@@ -27,7 +27,7 @@ static int rpmsw_type = 0;
/*@unchecked@*/
static int rpmsw_initialized = 0;
-#if 1 /* XXX defined(__i386__) */
+#if 0 /* XXX defined(__i386__) */
/* Swiped from glibc-2.3.2 sysdeps/i386/i686/hp-timing.h */
#define HP_TIMING_ZERO(Var) (Var) = (0)