OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [profile/] [gprof/] [v2_0/] [cdl/] [profile_gprof.cdl] - Blame information for rev 728

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      profile_gprof.cdl
4
#
5
#      cpu load measurements
6
#
7
# ====================================================================
8
#####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2002 Gary Thomas
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later version.
16
##
17
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20
## for more details.
21
##
22
## You should have received a copy of the GNU General Public License along
23
## with eCos; if not, write to the Free Software Foundation, Inc.,
24
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25
##
26
## As a special exception, if other files instantiate templates or use macros
27
## or inline functions from this file, or you compile this file and link it
28
## with other works to produce a work based on this file, this file does not
29
## by itself cause the resulting work to be covered by the GNU General Public
30
## License. However the source code for this file must still be made available
31
## in accordance with section (3) of the GNU General Public License.
32
##
33
## This exception does not invalidate any other reasons why a work based on
34
## this file might be covered by the GNU General Public License.
35
##
36
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37
## at http://sources.redhat.com/ecos/ecos-license/
38
## -------------------------------------------
39
#####ECOSGPLCOPYRIGHTEND####
40
# ====================================================================
41
######DESCRIPTIONBEGIN####
42
#
43
# Author(s):      Gary Thomas
44
# Original data:  Gary Thomas
45
# Contributors:
46
# Date:           2002-11-14
47
#
48
#####DESCRIPTIONEND####
49
#
50
# ====================================================================
51
 
52
cdl_package CYGPKG_PROFILE_GPROF {
53
    display       "Gather runtime profile statistics"
54
    requires      CYGPKG_NET
55
    requires      CYGPKG_NET_TFTP
56
    requires      CYGPKG_MEMALLOC
57
    requires      { CYGINT_PROFILE_HAL_TIMER != 0 }
58
    doc           ref/services-profile-gprof.html
59
 
60
    include_dir   cyg/profile
61
 
62
    compile profile.c
63
 
64
    description "
65
        This package enables runtime profiling of an application.
66
    The actual profile collection must be turned on by the application,
67
    once it has been initialized.  The data collected is exported via
68
    a TFTP connection to the target."
69
 
70
    cdl_interface     CYGINT_PROFILE_HAL_TIMER {
71
        display   "High resolution timer, implemented by platform"
72
        description "
73
          Profiling requires access to a high resolution timer which
74
          is platform dependent."
75
    }
76
 
77
    cdl_option CYGNUM_PROFILE_TFTP_PORT {
78
        display       "Port used by TFTP server for profile data"
79
        flavor        data
80
        default_value 0
81
        description   "
82
            This option sets the port number to use for the TFTP server
83
            which exports the profiling data.  A value of 0 will set
84
            the port to be the IETF standard port of 69/udp."
85
    }
86
 
87
    cdl_option CYGPKG_PROFILE_TESTS {
88
        display "Profiling tests"
89
        flavor  data
90
        no_define
91
        calculated { "tests/profile.c" }
92
    }
93
}
94
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.