Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
common.h
- Committer:
- priusfan
- Date:
- 2012-04-09
- Revision:
- 0:c0bb943bc2a7
File content as of revision 0:c0bb943bc2a7:
/*
* File: common.h
* Author: teamprii
*
* Created on April 8, 2012, 6:49 PM
*/
#ifndef COMMON_H
#define COMMON_H
#include <vector>
using namespace std;
class reqTbl {
public:
int id; // PID
int freq; // request frequency
int fcnt; // frequency counter
vector<int> code; // list of code; change from cod1, cod2 to a vector code and move to end of line in file for easier read
reqTbl();
};
reqTbl::reqTbl() {
fcnt = 0; // initialize frequency counter to 0
}
extern vector<reqTbl> reqTable;
extern int reqNumTbl; // this will be just (int)reqTable.size()
#endif /* COMMON_H */