📄 realtime.h
字号:
// This file is part of MANTIS OS, Operating System for Nymph.// See http://mantis.cs.colorado.edu///// Copyright (C) 2003 University of Colorado, Boulder//// This program is free software; you can redistribute it and/or// modify it under the terms of the GNU General Public License// as published by the Free Software Foundation; either version 2// of the License, or (at your option) any later version.//// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.//// You should have received a copy of the GNU General Public License// (See http://www.gnu.org/copyleft/gpl.html)// along with this program; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,// USA, or send email to help@mantis.cs.colorado.edu./** @file realtime.h * @brief Routines to count elapsed time. * @author Charles Gruenwald III *//** @brief Function returns the elapsed number of ms * on the running timer. * @return number of ms elapsed */uint32_t* real_timer_get_ticks();/** @brief This function resets the running timer */void real_timer_clear();/** @brief Initialize the real_timer to be in CTC mode */void real_timer_init(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -