Using perf, the Linux Performance Analysis tool
on Ubuntu KarmicA lot has been going on with Linux performance counters (now
called performance events...
分类:
其他好文 时间:
2014-05-16 04:06:37
阅读次数:
386
根据5.2中的讲解,当监控high priority queue的PDSP channel设定好后,那么与之对应的event就知道了(PDSP channel与event一一对应),注意5.x讲的是中断的配置,并不是exception的配置,4.x讲的是exception。
中断event与ISR配置伪代码如下,目的是使event与ISR建立联系:
/*Configure ev...
分类:
其他好文 时间:
2014-05-15 23:41:39
阅读次数:
452
1 mysq error日志报错如下:2014-05-12 11:29:54 22977 [ERROR] Slave SQL: The incident LOST_EVENTS occured on the master. Message: error writing to the binary log, Error_code: 15902014-05-12 11:29:54 22977 [ERR...
分类:
其他好文 时间:
2014-05-15 04:07:27
阅读次数:
318
对于TI C66x DSP的每个CPU有INT4~15共12个中断输入。对于中断,event combiner将event 4~127分为4个组(event 0~3为INTC内部使用,如图示为event combiner的四个输出)。类似于4.x中的exception,中断也有同样功能的event flag,event mask,masked event flag寄存器。...
分类:
其他好文 时间:
2014-05-14 23:54:21
阅读次数:
645
本节讲述PDSP监控的配置。
QMSS PDSP:The queue manager sub system contains two or eight packed data structure processors (PDSP) and associated hardware that allow autonomous QMSS-related tasks with interrupt not...
分类:
其他好文 时间:
2014-05-11 04:02:36
阅读次数:
507
原文:http://dean.edwards.name/weblog/2009/03/callbacks-vs-events/先看如下代码:1
document.addEventListener("DOMContentLoaded", function() {2
console.log("Ini.....
分类:
其他好文 时间:
2014-05-10 06:26:41
阅读次数:
273
下面讲解在具体应用中,event与中断ISR的设置。以对QM的queue监控产生中断(不是EXCEP)为例,主要包括配置QM accumulator(用于监控QM queue)与配置ISR(ISR与event配置)。
首先介绍QM accumulator的配置,QM模块中QMSS(包含QMSS Tx queue 800:831,Tx/Rx channel 0:31,RxChan,TxChan,T...
分类:
其他好文 时间:
2014-05-10 04:52:49
阅读次数:
306
usergroupwwwwww;worker_processes8;//进程数,建议设置为等于CPU总核心数error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;default_typeapplication/octet-st..
分类:
其他好文 时间:
2014-05-09 14:30:49
阅读次数:
308
下面介绍下在CPU内部怎么处理exception。根据下图EFR寄存器记录了(首先要使能exception,否侧EFR不能记录,见英文描述)CPU检测到的exception类型,当检测到NMI,NXF位会被置位,当检测到excepton(event4~127 trigger),EXF位会被置位等。在用户模式下,EFR寄存器不可访问,在spervisor模式下,可以通过MVC EFR访问。
E...
分类:
其他好文 时间:
2014-05-09 02:42:19
阅读次数:
350
Exception Combiner允许系统设计者...
分类:
其他好文 时间:
2014-05-09 00:30:36
阅读次数:
488