Eric Dong
d0f65b21c5
Refine code to make it more safely.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15597 6f19259b-4bc3-4df7-8a09-765794883524
2014-06-26 03:18:44 +00:00
lzeng14
77c9e7473c
Add TscTimerLibInternal.h in INF file.
...
Signed-off-by: lzeng14
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12648 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-02 01:58:23 +00:00
lzeng14
da27b950d5
Refine BaseTscTimerLib.
...
Signed-off-by: lzeng14
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12608 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-31 06:37:51 +00:00
lzeng14
034307a7ec
Add BaseTscTimerLib, and then merge the three TscTimerLib to one directory.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12604 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-30 13:14:44 +00:00
xdu2
b9610b9cb5
Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds.
...
Signed-off-by: xdu2
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12206 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 05:59:17 +00:00
lzeng14
50e610270c
Fix GCC build error.
...
Signed-off-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12180 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-22 05:38:36 +00:00
lzeng14
4ae5165ce6
Allocate memory buffer to store TscFrequency, and InstallConfigurationTable with the pointer to this buffer.
...
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12151 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-17 07:30:34 +00:00
lzeng14
a176509a7f
Store and get TSC Frequency with system configuration Table.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11572 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 05:14:00 +00:00
ydong10
3a63a42554
Enhance inf to follow spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11394 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:47:08 +00:00
lzeng14
d66e9f0d04
Add comments for the two parameters of DxeTscTimerLibConstructor.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11328 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-22 06:21:52 +00:00
lzeng14
d50f6f8be8
TscTimerLib in PerformancePkg is a BASE type library, which should be used by any module type.
...
But its constructor uses the global variable mTscFrequency to store frequency, which doesn't work on XIP PEIM.
Split it to two LIBs for PEI and DXE separately.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11312 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-15 02:02:06 +00:00
ydong10
9dd7461870
Refine code to make code follow the coding style.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11011 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08 05:28:01 +00:00
qhuang8
24cd83a779
Remove unicode code in source code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10515 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 03:30:22 +00:00
hhtian
92ea1df875
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10427 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-24 12:09:16 +00:00
darylm503
c06ad33ed2
Libraries and utilities for instrumenting regions of code and measuring their performance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10417 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 17:00:32 +00:00