core/newlib/time_r.c File Reference

#include "sceptre.h"
#include <reent.h>
#include <sys/times.h>

Go to the source code of this file.

Functions

clock_t _times_r (struct _reent *r, struct tms *p_tms)

Detailed Description

newlib - times.

Todo:
Check the value of CLOCKS_PER_SEC, assumed to be 100, but may be 1000.

Definition in file time_r.c.


Function Documentation

clock_t _times_r ( struct _reent *  r,
struct tms *  p_tms 
)

This function has to be implemented if you want to use times in your programs.

Parameters:
p_reent Pointer to a structure that will receive the return value.
p_tms Address of structure to fill.
Returns:
Number of clock ticks.

Definition at line 20 of file time_r.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Defines

Generated by  doxygen 1.6.2