Joel Sherrill
793dd46d64
2007-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/Makefile.am, libmisc/cpuuse/cpuusagereport.c,
libmisc/cpuuse/cpuusagereset.c: Fix bug where cpu usage calculation
was always using uptime not time since last cpu usage reset when
using nanoseconds granularity.
* libmisc/cpuuse/cpuusagedata.c: New file.
2007-07-18 21:31:49 +00:00
Joel Sherrill
2b596c6986
2007-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/stackchk/check.c: Make checking the integrity of the pattern
area contingent on the stack checker user extension having been
initialized.
2007-07-06 21:11:36 +00:00
Joel Sherrill
ff3f8c85c3
2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libmisc/Makefile.am, libmisc/monitor/mon-object.c,
libmisc/monitor/monitor.h, sapi/include/confdefs.h,
sapi/include/rtems/config.h, sapi/include/rtems/io.h,
sapi/src/exinit.c, sapi/src/io.c: Eliminate maximum_drivers
configuration parameter since it was used to configure a no longer
used feature. Device names are now part of the filesystem not in a
table. This also eliminated the variables _IO_Number_of_devices and
_IO_Driver_name_table from RTEMS as well as the memory allocation
used to populate _IO_Driver_name_table.
* libmisc/monitor/mon-dname.c: Removed.
2007-05-28 15:51:01 +00:00
Joel Sherrill
e49e84c9ab
2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
functionality into multiple files to eliminate unnecessary cohesion.
Update README.
* libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
New files.
* libmisc/cpuuse/cpuuse.c: Removed.
2007-05-21 20:28:02 +00:00
Joel Sherrill
c3330a88ee
2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* ChangeLog, configure.ac, libcsupport/src/__times.c,
libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
score/Makefile.am, score/include/rtems/score/thread.h,
score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
score/src/timespecdivide.c: Add nanoseconds granularity to the rate
monotonic period statistics and CPU usage statistics. This capability
is enabled by default although may be conditionally disabled by the
user. It could be too much overhead on small targets but it does not
appear to be bad in early testing. Its impact on code size has not
been evaluated either. It is possible that both forms of statistics
gathering could be disabled with further tweaking of the conditional
compilation.
* score/src/timespecdividebyinteger.c: New file.
2007-05-17 22:46:45 +00:00
Joel Sherrill
eb64f2c6ff
2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
functionally similar code here. Also cleanup print formats.
2007-05-16 16:25:05 +00:00
Joel Sherrill
e1bce866cf
2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
score/Makefile.am, score/include/rtems/score/object.h,
score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
Monotonic Statistics and Period Usage into Rate Monotonic Manager.
Added the following directives: rtems_rate_monotonic_get_statistics,
rtems_rate_monotonic_reset_statistics,
rtems_rate_montonic_reset_all_statistics,
rtems_rate_montonic_report_statistics, and rtems_object_get_name.
Obsoleted the rtems/rtmonuse.h file as a public interface.
* rtems/src/ratemongetstatistics.c,
rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
score/src/objectgetnameasstring.c: New files.
* libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2007-05-15 20:16:16 +00:00
Joel Sherrill
4da36c1af3
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
suitable for inclusion in the Users Guide.
2007-05-11 20:01:37 +00:00
Joel Sherrill
361457db8e
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-server.c: Do not
reference _Configuration_MP_table if multiprocessing is disabled.
2007-05-09 17:55:37 +00:00
Joel Sherrill
d8ec87b49c
2007-04-02 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/stackchk/check.c: Add code to check validity of frame pointer
in addition to the pattern area being overwritten. Also do some
cleanup.
2007-04-02 14:33:59 +00:00
Joel Sherrill
dfb3c2b71f
2007-03-12 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Rename
Dump_Buffer to rtems_print_buffer.
2007-03-12 20:23:58 +00:00
Joel Sherrill
8583f82da0
2007-03-08 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
libmisc/stackchk/stackchk.h: Change dump usage to report usage.
2007-03-08 21:43:05 +00:00
Ralf Corsepius
c8b0f1cbbd
Use size_t for sizes.
2007-02-06 05:57:07 +00:00
Ralf Corsepius
7c7aabd0f8
2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
2007-01-29 04:27:26 +00:00
Joel Sherrill
bf89c76217
2006-11-17 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/rtmonuse/rtmonuse.c: Do not use float for calculations.
2006-11-17 22:55:51 +00:00
Ralf Corsepius
4a6fd1801c
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/capture/capture-cli.c: Use size_t instead of int.
2006-10-17 17:21:18 +00:00
Chris Johns
8dec18146c
Flush stdout after updating the command line.
2006-09-28 14:44:50 +00:00
Joel Sherrill
bc11ec273d
2006-09-14 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/cpuuse/cpuuse.c, libmisc/cpuuse/cpuuse.h: Promote CPU Usage
to first class citizen. Rename to start with rtems_ and include
documentation in user guide.
2006-09-14 15:07:19 +00:00
Joel Sherrill
7ac4ae92d0
2006-09-13 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
libmisc/stackchk/stackchk.h: Move stack to first class citizen
status. Include it in User Manual and rename to start with rtems_.
2006-09-13 16:22:24 +00:00
Joel Sherrill
957d886a8f
2006-09-11 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/mw-fb/mw_fb.c, libmisc/mw-fb/mw_fb.h, libmisc/mw-fb/mw_uid.c,
libmisc/mw-fb/mw_uid.h: Remove warning.
2006-09-11 21:42:23 +00:00
Joel Sherrill
352332193c
2006-08-30 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
format warnings.
2006-08-30 13:53:02 +00:00
Joel Sherrill
8a1ae878d4
2006-08-29 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/capture/capture-cli.c: Remove printf format warnings.
2006-08-29 21:55:30 +00:00
Thomas Doerfler
c9b005a9d2
applied patches for PR1117/1118/1119/1120
2006-07-09 10:05:27 +00:00
Eric Norum
32293d6929
Add ability to free information on task delete.
2006-04-27 18:17:20 +00:00
Eric Norum
03f246fb58
Eliminate undesired sign-extension.
2006-03-27 15:14:07 +00:00
Joel Sherrill
6a074363a2
2006-01-16 Joel Sherrill <joel@OARcorp.com>
...
Large patch to improve Doxygen output. As a side-effect, grammar and
spelling errors were corrected, spacing errors were address, and some
variable names were improved.
* libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h:
Account for changing OBJECTS_NO_CLASS to OBJECTS_CLASSIC_NO_CLASS.
* score/Doxyfile: Set output directory. Predefine some macro values.
Turn on graphical output.
* score/include/rtems/debug.h, score/include/rtems/seterr.h,
score/include/rtems/system.h, score/include/rtems/score/address.h,
score/include/rtems/score/apiext.h,
score/include/rtems/score/apimutex.h,
score/include/rtems/score/bitfield.h,
score/include/rtems/score/chain.h,
score/include/rtems/score/context.h,
score/include/rtems/score/coremsg.h,
score/include/rtems/score/coremutex.h,
score/include/rtems/score/coresem.h,
score/include/rtems/score/heap.h, score/include/rtems/score/interr.h,
score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h,
score/include/rtems/score/mppkt.h,
score/include/rtems/score/object.h,
score/include/rtems/score/objectmp.h,
score/include/rtems/score/priority.h,
score/include/rtems/score/stack.h,
score/include/rtems/score/states.h,
score/include/rtems/score/sysstate.h,
score/include/rtems/score/thread.h,
score/include/rtems/score/threadmp.h,
score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h,
score/include/rtems/score/tqdata.h,
score/include/rtems/score/userext.h,
score/include/rtems/score/watchdog.h,
score/include/rtems/score/wkspace.h,
score/inline/rtems/score/address.inl,
score/inline/rtems/score/chain.inl,
score/inline/rtems/score/coremutex.inl,
score/inline/rtems/score/coresem.inl,
score/inline/rtems/score/heap.inl,
score/inline/rtems/score/object.inl,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl,
score/inline/rtems/score/tqdata.inl, score/macros/README,
score/src/heap.c, score/src/threadmp.c, score/src/threadready.c,
score/src/threadstartmultitasking.c: Improve generated Doxygen
output. Fix spelling and grammar errors in comments. Correct names of
some variables and propagate changes.
2006-01-16 15:13:58 +00:00
Ralf Corsepius
6be04ed043
New.
2006-01-12 10:01:38 +00:00
Ralf Corsepius
4e971660a1
Remove all-local.
2006-01-12 09:57:43 +00:00
Eric Norum
1a561f8130
Remove floating point calculations and the C preprocessor conditions which enabled them.
2005-09-29 14:20:21 +00:00
Chris Johns
a4ad7597d1
2005-05-18 Chris Johns <chrisj@rtems.org>
...
* libmisc/capture/capture-cli.c: Fix the output of ctload when
there exists a large number of tasks.
2005-05-18 00:04:17 +00:00
Ralf Corsepius
edbd3df670
2005-04-09 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/monitor/mon-symbols.c: size_t.
2005-04-09 05:19:45 +00:00
Ralf Corsepius
f3ad98f483
2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/untar/untar.c (_rtems_octal2ulong): Replace.
2005-02-09 03:24:29 +00:00
Ralf Corsepius
017ec60782
New header guards.
2005-02-07 13:26:23 +00:00
Ralf Corsepius
1996aee7f0
2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c,
libmisc/untar/untar.c, libmisc/untar/untar.h:
Various generalizations and fixes.
2005-02-07 13:25:14 +00:00
Ralf Corsepius
9d0e65ed92
2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* Makefile.am: Add include/rtems/tar.h.
Merge-in header rules from libmisc/Makefile.am
* libmisc/Makefile.am: Remove header rules.
Remove lib-specific CPPFLAGS.
* configure.ac: Add checks for <tar.h>
2005-02-07 13:19:45 +00:00
Ralf Corsepius
05b37c50d0
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am,
libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am,
rtems/Makefile.am, sapi/Makefile.am:
Remove AM_CPPFLAGS += -I$(top_builddir).
2005-01-28 02:32:38 +00:00
Ralf Corsepius
e49f4c789b
2005-01-27 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/untar/untar.h: New prototype to eleminate warnings.
* libmisc/untar/untar.c: Cosmetics, add symlinks.
2005-01-27 10:14:57 +00:00
Ralf Corsepius
61d176b31b
2005-01-27 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/fsmount/fsmount.c: Include config.h.
2005-01-27 06:21:17 +00:00
Ralf Corsepius
a369ade90d
2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am,
libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am,
libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am,
rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am:
Eliminate CFLAGS_OPTIMIZE_V.
2005-01-07 06:05:49 +00:00
Ralf Corsepius
08885d631d
Fix typo.
2005-01-05 18:17:01 +00:00
Ralf Corsepius
846a4af893
2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* automake/compile.am, httpd/Makefile.am, itron/Makefile.am,
libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am,
libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am,
posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am,
score/Makefile.am, wrapup/Makefile.am:
Remove build-variant support.
2005-01-01 10:41:29 +00:00
Ralf Corsepius
cbd76915cf
2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
libmisc/monitor/monitor.h, libmisc/rtmonuse/rtmonuse.h,
libmisc/shell/shell.h: Partial doxygenification.
* libmisc/capture/capture.h: Use INT32_C for constants.
2004-12-02 18:20:51 +00:00
Joel Sherrill
6ca6ef40cf
2004-11-01 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/monitor/mon-manager.c, libmisc/monitor/mon-object.c: Remove
references to _Object_Is_local in single processor configurations.
2004-11-01 16:35:42 +00:00
Ralf Corsepius
cbd849c0de
2004-11-01 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* monitor/monitor.h: Let rtems_monitor_config_dump return int.
* monitor/mon-config.c: Ditto. Use PRI*N macros.
* monitor/mon-itask.c, monitor/mon-prmisc.c: Use PRI*N macros.
2004-11-01 13:14:33 +00:00
Ralf Corsepius
c182e2dcab
2004-10-27 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* monitor/mon-prmisc.c, monitor/monitor.h: Let rtems_monitor_dump
return int's not uint32_t (They are printf return values).
2004-10-27 08:24:10 +00:00
Ralf Corsepius
f0d1c947a6
2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libmisc/monitor/mon-prmisc.c, libmisc/monitor/monitor.h:
rtems_monitor_dump_char(char ch).
2004-10-21 09:16:44 +00:00
Joel Sherrill
ac200c1ba1
2004-09-29 Joel Sherrill <joel@OARcorp.com>
...
* configure.ac, libmisc/cpuuse/README, libmisc/stackchk/README,
librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am,
score/include/rtems/score/mppkt.h: i960 obsoleted and all references
removed.
2004-09-29 20:34:01 +00:00
Joel Sherrill
7a965bcd6a
2004-09-27 Joel Sherrill <joel@OARcorp.com>
...
* libmisc/stackchk/check.c: Spacing.
2004-09-27 22:14:36 +00:00
Joel Sherrill
6f77f16f7b
2004-09-17 Joel Sherrill <joel@OARcorp.com>
...
PR 677/misc
* libmisc/dumpbuf/dumpbuf.h, libmisc/fsmount/fsmount.h,
libmisc/rtmonuse/rtmonuse.h, libmisc/serdbg/serdbg.h,
libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/termios_printk.h,
libmisc/serdbg/termios_printk_cnf.h, libmisc/untar/untar.h: Add
extern C wrappers.
2004-09-17 17:00:19 +00:00
Ralf Corsepius
714f06c7fa
2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libmisc/capture/capture-cli.c, libmisc/cpuuse/cpuuse.c,
libmisc/dumpbuf/dumpbuf.c, libmisc/fsmount/fsmount.c,
libmisc/monitor/mon-command.c, libmisc/monitor/mon-config.c,
libmisc/monitor/mon-dname.c, libmisc/monitor/mon-driver.c,
libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c,
libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c,
libmisc/monitor/mon-queue.c, libmisc/monitor/mon-symbols.c,
libmisc/monitor/mon-task.c, libmisc/rtmonuse/rtmonuse.c,
libmisc/shell/cmds.c, libmisc/shell/shell.c, libmisc/shell/shell.h,
libmisc/stackchk/check.c, libmisc/untar/untar.c: Use
fprintf(stdout,...) instead of printf.
2004-04-17 08:12:02 +00:00