Qualcomm has its own patent of CDMA technology.
Tuesday, July 26, 2011
Sunday, July 10, 2011
Linux: CPU scaling governor
Governors In the Linux Kernel
1 Performance
2 Powersave
3 Userspace
4 Ondemand
5 Conservative
6 Interactive
7 InteractiveX
http://bonsai.googlecode.com/svn-history/r447/trunk/kernel-src/linux-2.6.32.9/Documentation/cpu-freq/governors.txt
http://icarus21.tistory.com/entry/CPU-Frequency-Governor
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
For all available scaling governors:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
Check Available frequencies
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
Check Available frequencies
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
To control CPU1 manually,
# echo 0 > /sys/devices/system/cpu/cpu1/online
# echo 1 > /sys/devices/system/cpu/cpu1/online
Update 6/28 2013
=============================================
CPU Governors
http://forum.xda-developers.com/showthread.php?t=1736168
# echo 0 > /sys/devices/system/cpu/cpu1/online
# echo 1 > /sys/devices/system/cpu/cpu1/online
Update 6/28 2013
=============================================
CPU Governors
http://forum.xda-developers.com/showthread.php?t=1736168
Saturday, June 11, 2011
How to debug in Release Mode in Visual C++ 6.0
Project > Setting > C/C++ tab menu
Debug Info: change from None to Program database
And, Project > Setting > Link
Check, Generate debug info
Monday, July 12, 2010
About google & android terminal
구글의 안드로이드 OS는 개발사와의 제휴범위를 크게 3가지의 방식으로 채택하고 있다고 합니다.
1. 오픈소스: 안드로이드 OS의 오픈소스를 구글과의 별도 제휴없이 가져와 임의로 수정, 개발하는 방식
2. GMS (Google Mobile Service): 구글의 안드로이드 기반의 어플리케이션과 안드로이드 OS를 구글의 제휴 기반으로 그대로 가져와 사용하되 폰의 UI등은 임의로 수정, 변경하는 방식
3. GED (Google Experience Device): 구글과의 긴밀한 제휴에 의해서 구글의 UI를 활용해서 구글이 원하는 방식으로 폰의 UI를 만드는 방식
Thursday, April 1, 2010
Structure Comparision
Have you ever been to compare between 2 same structure data?
Example
#include
typedef struct tagMyTestType {
char TypeA;
int TypeB;
} MyTestType;
void TestApp1(void)
{
MyTestType t1;
MyTestType t2;
// add test code
//memset(&t1, 0x00, sizeof(MyTestType));
//memset(&t2, 0xFF, sizeof(MyTestType));
t1.TypeA = 100;
t1.TypeB = 100;
t2.TypeA = 100;
t2.TypeB = 100;
int nReturn = 0;
nReturn = memcmp(&t1, &t2, sizeof(MyTestType));
if (nReturn == 0)
{ // Equal
printf("Equal\n");
}
else
{ // Not Equal
printf("Not Equal\n");
}
}
Can you guess the result?
Example
#include
typedef struct tagMyTestType {
char TypeA;
int TypeB;
} MyTestType;
void TestApp1(void)
{
MyTestType t1;
MyTestType t2;
// add test code
//memset(&t1, 0x00, sizeof(MyTestType));
//memset(&t2, 0xFF, sizeof(MyTestType));
t1.TypeA = 100;
t1.TypeB = 100;
t2.TypeA = 100;
t2.TypeB = 100;
int nReturn = 0;
nReturn = memcmp(&t1, &t2, sizeof(MyTestType));
if (nReturn == 0)
{ // Equal
printf("Equal\n");
}
else
{ // Not Equal
printf("Not Equal\n");
}
}
Can you guess the result?
Subscribe to:
Posts (Atom)