blob: 6e81c989e152ea00890435db71e8c701627fe68d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/* -*- C++ -*- */
// $Id$
//
// ============================================================================
//
// = LIBRARY
// ace ORB
//
// = FILENAME
// Benchmark Computation Units
//
// = AUTHOR
// David Levine and Tim Harrison (harrison@cs.wustl.edu)
//
// = DESCRIPTION
//
// Times how long it takes to generate each of the first N prime
// numbers.
// ============================================================================
#ifndef ACE_BCU_H
#define ACE_BCU_H
#include "ace/OS.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/orbsvcs_export.h"
TAO_ORBSVCS_Export u_long ACE_BCU (u_long n);
// Check if a specific, hardcoded number is prime (via ACE::is_prime) <n>
// times.
TAO_ORBSVCS_Export u_long ACE_BCU (u_long number, u_long n);
// Check if <number> is prime (via ACE::is_prime ()) <n> times.
#endif /* ACE_BCU_H */
|