大多数的手机都含有两个处理器。操作系统、用户界面和应用程序都在Application
Processor(AP)(应用处理器)上执行,AP一般采用ARM芯片的CPU。而手机射频通讯控制软件,则运行在另一个分开的CPU上,这个CPU称为Baseband
Processor(BP)(基带处理器)。把射频...
分类:
移动开发 时间:
2014-05-26 15:48:12
阅读次数:
408
1、使用free – m命令查看内存使用情况代码如下:total used free shared
buffers cached Mem: 3832 2716 1115 0 95 1483 -/+ buffers/cache: 1137 2695 Swap:
6015 0 6015从上面可以看到内存...
分类:
其他好文 时间:
2014-05-26 11:57:51
阅读次数:
295
FREENAMEfree显示系统可用内存和已使用内存语法free [-b | -k | -m]
[-o] [-s delay ] [-t] [-l] [-V]描述free显示了总可用和被用的物理内存和swap内存,也包括内核使用的buffer,shared
memory已经被废弃选项[-b | -k...
分类:
系统相关 时间:
2014-05-26 11:29:08
阅读次数:
326
ARC的机制是什么?它在那里放入retain/release函数调用?请停止思考这些问题,把更多的精力放在下面的问题上,比如你的程序逻辑,对象的强,弱引用,对象的所属关系,可能的循环引用等问题上。我还需要为我的类写一个dealloc函数么?可能。因为ARC并不自动调用malloc/free,并不自动...
分类:
其他好文 时间:
2014-05-26 10:24:28
阅读次数:
279
经过长时间学习创建Oracle表空间,于是和大家分享一下,看完本文你肯定有不少收获,希望本文能教会你更多东西。1、先查询空闲空间selecttablespace_name,file_id,block_id,bytes,blocksfromdba_free_space;2、增加Oracle表空间先查询...
分类:
数据库 时间:
2014-05-26 09:30:23
阅读次数:
368
在Windows系统中查看内存的使用情况很简单,想必大家都已经耳熟能详了,那么在linux系统如何查看内存使用情况呢?下面和大家分享在Linux
下查看内存使用情况的free命令: [root@scs-2 tmp]# free total used free shared buffers c...
分类:
系统相关 时间:
2014-05-26 09:04:17
阅读次数:
352
如果实现一个音频文件的播放,那么在应用程序中提供播放音频文件功能的最简单的方式是利用内置的“Music(音乐)”应用程序的功能--即使用系统自带的或已安装好的音乐播放器来播放指定的音频文件。
本例比较简单,下面直接给出源代码:
布局文件activity_main:
<RelativeLayout xmlns:android="http://schemas.android.com/ap...
分类:
移动开发 时间:
2014-05-23 01:16:51
阅读次数:
405
通过javac编译java文件1.先导入需要引用的包D:\Program Files
(x86)\apache-tomcat-7.0.53\webapps\test\WEB-INF\classes>set
classpath=%classpath%;D:\Program Files (x86)\ap...
分类:
编程语言 时间:
2014-05-21 20:21:14
阅读次数:
244
析构函数和构造函数是一对,就像C语言中的malloc和free,C++中的new和delete一样
先从一个实例说起:
#include
#include
using namespace std;
class Student
{
public:
Student(int n, string nam, char s)
{
num = n;
name = nam;
sex...
分类:
其他好文 时间:
2014-05-21 12:33:43
阅读次数:
259
There are two types of non-blocking thread synchronization algorithms
- lock-free, and wait-free. Their meaning is often confused. In lock-free systems, while any particular computation may be block...
分类:
其他好文 时间:
2014-05-21 10:27:20
阅读次数:
410