summaryrefslogblamecommitdiffstats
path: root/cpukit/score/src/ts64set.c
blob: 22771d69805ef02158bc820243763cc42c30bc91 (plain) (tree)
1
2
3
4
5
6
7
   





                                                            






                                                           
                                         





                   

                                  
                                   

                             

                                   

 
                                                                   

      
/**
 * @file
 *
 * @brief Set Timestamp to Specified Seconds and Nanoseconds
 *
 * @ingroup SuperCore
 */

/*
 *  COPYRIGHT (c) 1989-2008.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <rtems/score/timestamp.h>

#if CPU_TIMESTAMP_USE_INT64 == TRUE
void _Timestamp64_Set(
  Timestamp64_Control *_time,
  Timestamp64_Control  _seconds,
  Timestamp64_Control  _nanoseconds
)
{
  _Timestamp64_implementation_Set( _time, _seconds, _nanoseconds );
}
#endif