chiark
/
gitweb
/
~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: Big pile of whitespace fixes, all at once.
[catacomb]
/
perftest.c
diff --git
a/perftest.c
b/perftest.c
index ad1f18290f624828447334cd4b21647e85ceb9c7..d356ce99cbfa6e87157ae5ba8f7c92815a269b6b 100644
(file)
--- a/
perftest.c
+++ b/
perftest.c
@@
-7,7
+7,7
@@
* (c) 2004 Straylight/Edgeware
*/
* (c) 2004 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of Catacomb.
*
*
* This file is part of Catacomb.
*
@@
-15,12
+15,12
@@
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
- *
+ *
* Catacomb is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
* Catacomb is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Library General Public
* License along with Catacomb; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
* You should have received a copy of the GNU Library General Public
* License along with Catacomb; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@
-436,7
+436,7
@@
typedef struct jobops {
} jobops;
static const jobops jobtab[] = {
} jobops;
static const jobops jobtab[] = {
- { "g-prime-exp", grp_init, gr_run },
+ { "g-prime-exp", grp_init, gr_run },
{ "g-ec-mul", grec_init, gr_run },
{ "g-prime-exp-sim", grp_init, grsim_run },
{ "g-ec-mul-sim", grec_init, grsim_run },
{ "g-ec-mul", grec_init, gr_run },
{ "g-prime-exp-sim", grp_init, grsim_run },
{ "g-ec-mul-sim", grec_init, grsim_run },
@@
-582,7
+582,7
@@
int main(int argc, char *argv[])
p = j->init(&o);
n = 0;
p = j->init(&o);
n = 0;
- ttot = itot = 0;
+ ttot = itot =
0;
gettimeofday(&tv_now, 0);
do {
tv_addl(&tv_next, &tv_now, o.t, fmod(o.t * MILLION, MILLION));
gettimeofday(&tv_now, 0);
do {
tv_addl(&tv_next, &tv_now, o.t, fmod(o.t * MILLION, MILLION));