aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorKenichi Handa2000-05-17 23:35:57 +0000
committerKenichi Handa2000-05-17 23:35:57 +0000
commit813086ea086548d2fbcd92b2a6af13cb70aea860 (patch)
tree17949a014dcadedf795e9d64fcf1b76635946911 /src/fns.c
parentc151654a5a25d76b3fc031e889142176e7ae58b2 (diff)
downloademacs-813086ea086548d2fbcd92b2a6af13cb70aea860.tar.gz
emacs-813086ea086548d2fbcd92b2a6af13cb70aea860.zip
*** empty log message ***
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/fns.c b/src/fns.c
index 9947edc7e11..ed513098ee3 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -4730,29 +4730,7 @@ integers, including negative integers.")
4730 return Fput (name, Qhash_table_test, list2 (test, hash)); 4730 return Fput (name, Qhash_table_test, list2 (test, hash));
4731} 4731}
4732 4732
4733
4734#include <sys/times.h>
4735#include <limits.h>
4736
4737DEFUN ("cpu-ticks", Fcpy_ticks, Scpu_ticks, 0, 0, 0,
4738 "Return time-accounting information.\n\
4739Value is a list (UTIME STIME CUTIME CSTIME), where\n\
4740UTIME is the CPU time used by the current process in the user space,\n\
4741STIME is the CPU time used by the current process in the system kernel space\n\
4742CUTIME is the CPU time used by the current and its children processs\n\
4743 in the user space,\n\
4744CSTIME is the CPU time used by the current and its children processs\n\
4745 in the system kernel space.")
4746 ()
4747{
4748 struct tms buf;
4749 4733
4750 times (&buf);
4751 return list4 (make_number (buf.tms_utime),
4752 make_number (buf.tms_stime),
4753 make_number (buf.tms_cutime),
4754 make_number (buf.tms_cstime));
4755}
4756 4734
4757 4735
4758void 4736void
@@ -4897,7 +4875,6 @@ invoked by mouse clicks and mouse menu items.");
4897 defsubr (&Sbase64_decode_region); 4875 defsubr (&Sbase64_decode_region);
4898 defsubr (&Sbase64_encode_string); 4876 defsubr (&Sbase64_encode_string);
4899 defsubr (&Sbase64_decode_string); 4877 defsubr (&Sbase64_decode_string);
4900 defsubr (&Scpu_ticks);
4901} 4878}
4902 4879
4903 4880