annotate packages/services/cpuload/current/cdl/cpuload.cdl @ 738:c3c6e67dbc44

* cdl/cpuload.cdl: Add doc link.
author jlarmour
date Mon, 24 Feb 2003 14:34:09 +0000
parents 603f78f0d43a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
1 # ====================================================================
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
2 #
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
3 # cpuload.cdl
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
4 #
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
5 # cpu load measurements
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
6 #
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
7 # ====================================================================
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
8 #####ECOSGPLCOPYRIGHTBEGIN####
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
9 ## -------------------------------------------
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
11 ## Copyright (C) 2002 Andrew Lunn
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
12 ##
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later version.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
16 ##
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
20 ## for more details.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
21 ##
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
22 ## You should have received a copy of the GNU General Public License along
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
25 ##
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
26 ## As a special exception, if other files instantiate templates or use macros
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
27 ## or inline functions from this file, or you compile this file and link it
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
28 ## with other works to produce a work based on this file, this file does not
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
29 ## by itself cause the resulting work to be covered by the GNU General Public
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
30 ## License. However the source code for this file must still be made available
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
31 ## in accordance with section (3) of the GNU General Public License.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
32 ##
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
33 ## This exception does not invalidate any other reasons why a work based on
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
34 ## this file might be covered by the GNU General Public License.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
35 ##
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
37 ## at http://sources.redhat.com/ecos/ecos-license/
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
38 ## -------------------------------------------
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
39 #####ECOSGPLCOPYRIGHTEND####
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
40 # ====================================================================
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
41 ######DESCRIPTIONBEGIN####
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
42 #
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
43 # Author(s): Andrew Lunn
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
44 # Original data: Andrew Lunn
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
45 # Contributors:
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
46 # Date: 2002-08-12
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
47 #
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
48 #####DESCRIPTIONEND####
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
49 #
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
50 # ====================================================================
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
51
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
52 cdl_package CYGPKG_CPULOAD {
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
53 display "Measure the current CPU load"
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
54 requires CYGPKG_KERNEL
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
55 requires !CYGPKG_KERNEL_SMP_SUPPORT
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
56 include_dir cyg/cpuload
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
57
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
58 compile cpuload.cxx
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
59 description "
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
60 This package measures the CPU load over the last 100ms, 1second
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
61 and 10 second. All loads are returned as a percentage, ie 0-100.
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
62 This is only a rough measure. Any clever power management, sleep
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
63 modes etc, will cause these results to be wrong."
738
c3c6e67dbc44 * cdl/cpuload.cdl: Add doc link.
jlarmour
parents: 651
diff changeset
64 doc ref/services-cpuload.html
301
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
65
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
66 cdl_option CYGPKG_CPULOAD_TESTS {
424
abb983ee4de0 Add application-level profiling package
gthomas
parents: 301
diff changeset
67 display "CPU load measurement tests"
301
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
68 flavor data
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
69 no_define
651
603f78f0d43a Tweak CDL definitions of test cases to avoid problems with the GUI
bartv
parents: 424
diff changeset
70 calculated { "tests/cpuload" }
301
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
71 }
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
72 }
7de36227e601 * Created a new package with my CPU load measurement code which
asl
parents:
diff changeset
73