Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e0791969
Kaydet (Commit)
e0791969
authored
Mar 27, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove PROFILE checks
never defined, follow-up of
512de6e7
üst
b6e28518
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
t_store.cxx
store/workben/t_store.cxx
+0
-12
No files found.
store/workben/t_store.cxx
Dosyayı görüntüle @
e0791969
...
...
@@ -334,9 +334,7 @@ int SAL_CALL main (int argc, char **argv)
pBuffer
[
_DEMOSTOR_BUFSIZ
-
1
]
=
'\0'
;
// Load/Save.
#ifndef PROFILE
OTime
aStartTime
(
OTime
::
getSystemTime
());
#endif
/* PROFILE */
for
(
int
i
=
0
;
i
<
_DEMOSTOR_LOOPS
;
i
++
)
{
...
...
@@ -401,7 +399,6 @@ int SAL_CALL main (int argc, char **argv)
aStream
.
close
();
#ifndef PROFILE
if
(((
i
+
1
)
%
(
_DEMOSTOR_LOOPS
/
10
))
==
0
)
{
OTime
aDelta
(
OTime
::
getSystemTime
()
-
aStartTime
);
...
...
@@ -412,17 +409,14 @@ int SAL_CALL main (int argc, char **argv)
printf
(
"%d: %12.4g[usec]
\n
"
,
(
i
+
1
),
(
double
)(
nDelta
)
/
(
double
)(
i
+
1
));
}
#endif
/* PROFILE */
}
#ifndef PROFILE
OTime
aDelta
(
OTime
::
getSystemTime
()
-
aStartTime
);
sal_uInt32
nDelta
=
aDelta
.
Seconds
*
1000000
;
nDelta
+=
(
aDelta
.
Nanosec
/
1000
);
printf
(
"Total(rd,wr): %d[usec]
\n
"
,
(
unsigned
int
)(
nDelta
));
#endif
/* PROFILE */
}
// Link/Rename.
...
...
@@ -478,9 +472,7 @@ int SAL_CALL main (int argc, char **argv)
// Directory iteration.
if
(
nOptions
&
OPTION_ITER
)
{
#ifndef PROFILE
OTime
aStartTime
(
OTime
::
getSystemTime
());
#endif
/* PROFILE */
OUString
aEmpty
;
// Root directory.
...
...
@@ -519,14 +511,12 @@ int SAL_CALL main (int argc, char **argv)
printf
(
"Error: can't open directory:
\"
/
\"\n
"
);
}
#ifndef PROFILE
OTime
aDelta
(
OTime
::
getSystemTime
()
-
aStartTime
);
sal_uInt32
nDelta
=
aDelta
.
Seconds
*
1000000
;
nDelta
+=
(
aDelta
.
Nanosec
/
1000
);
printf
(
"Total(iter): %d[usec]
\n
"
,
(
unsigned
int
)(
nDelta
));
#endif
/* PROFILE */
}
if
(
nOptions
&
OPTION_PAUSE
)
...
...
@@ -544,14 +534,12 @@ int SAL_CALL main (int argc, char **argv)
// Done.
aFile
.
close
();
#ifndef PROFILE
OTime
aDelta
(
OTime
::
getSystemTime
()
-
aMainStartTime
);
sal_uInt32
nDelta
=
aDelta
.
Seconds
*
1000000
;
nDelta
+=
(
aDelta
.
Nanosec
/
1000
);
printf
(
"Total: %d[usec]
\n
"
,
(
unsigned
int
)(
nDelta
));
#endif
/* PROFILE */
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment