Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gru110110110 authored Jun 21, 2017
1 parent 9fd15bc commit f37a139
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ Caton.initialize(this);//default
</br><li>Caton.MonitorMode.LOOPER</li></br>
这种模式是通过监测主线程消息处理时间来判断。也就是给主线程Looper设置Printer,来计算消息处理开始前和处理后的时间间隔判断。
</br>
</br>
2.结构原理图</br>
![](https://github.com/pruas/Caton/raw/master/caton_design.png)
![](https://github.com/pruas/Caton/blob/master/caton_design.png)
</br>
</br>
3.测试。</br>
我们人为在MainActivity中制造卡顿:</br>
Expand All @@ -49,6 +51,8 @@ Caton.initialize(this);//default
}
</pre></code>
logcat将打印出如下图:</br>
![](https://github.com/pruas/Caton/raw/master/caton_log.png)
![](https://github.com/pruas/Caton/blob/master/caton_log.png)
</br>
</br>
4.好了,现在你自己去测试吧!
</br>

0 comments on commit f37a139

Please sign in to comment.