~cpick/mongrel2/release

« back to all changes in this revision

Viewing changes to src/polarssl/timing.h

  • Committer: Chris Pick
  • Date: 2013-06-30 16:39:57 UTC
  • mfrom: (1106.1.15)
  • Revision ID: git-v1:ec39967acb6bc9867ed9b9dc3774304ca6b9c294
Merge tag 'v1.8.1' into debian

Hotfix for github issue 148

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * \file timing.h
3
3
 *
 
4
 * \brief Portable interface to the CPU cycle counter
 
5
 *
4
6
 *  Copyright (C) 2006-2010, Brainspark B.V.
5
7
 *
6
8
 *  This file is part of PolarSSL (http://www.polarssl.org)
37
39
extern "C" {
38
40
#endif
39
41
 
40
 
extern int alarmed;
 
42
extern volatile int alarmed;
41
43
 
42
44
/**
43
45
 * \brief          Return the CPU cycle counter value
62
64
/**
63
65
 * \brief          Sleep for a certain amount of time
64
66
 *
65
 
 * \param          Delay in milliseconds
 
67
 * \param milliseconds  delay in milliseconds
66
68
 */
67
69
void m_sleep( int milliseconds );
68
70