Trepn Profiler-user guide

Quick Start Guide

快速开始指导

Using Preset Mode

使用预设模式

Trepn Profiler has six easy to useprofiling presets. This section will help you understand what each of thepresets is designed to do.

Trepn Profiler有六个易于使用的分析预设。本节将帮助您了解每一个预设的作用。

1.   CPU Frequency Overlay – This shows thespeed of the first four cores of your processor. Because it is an on-screenoverlay, you can run
any app while observing the CPU frequencies. Use thispreset to see how fast each of the cores are running. Processor speeds changevery quickly so it’s normal for the numbers to jump around. Look at the bluegraph lines to see a more precise history of the changes
in frequency. To seewhich apps are using your processor, touch the back arrow to return to the homescreen and run the ‘CPU Usage Monitor’ preset.

1. CPU Frequency Overlay -这可以显示你的第一个四核处理器的速度。因为它是一个屏幕上的窗口,所以可以运行的任何应用程序的同时观察CPU频率。使用此预设来看看每个内核的运行有多快。处理器速度变化非常快,所以显示频率的数字变化也很快。从蓝色的图线可看更精确的历史频率的变化。要了解哪些应用程序正在使用你的处理器,触摸返回箭头返回到主屏幕,并运行“CPU
Usage Monitor”预设。

Tip: If any of the overlays are coveringan important part your application, you can drag them to a new location on thescreen. You can also hide them by touching the white
checkbox.

提示:如果任何窗口把你的应用程序某些重要部分遮挡了,你可以将它们拖动到屏幕上一个新的位置。您也可以通过点击白框隐藏它们。

2.   Mobile Data Detective – Use this presetto identify which apps use the most cellular or Wi-Fi data. By default, thisdisplays a list
of applications sorted based on the amount of data they haveused since you began profiling. If you want to sort the list of appsalphabetically, touch the ‘APPLICATION’ heading. It’s normal to see 0.0 next toeach app at the beginning of a profiling session.
Run this test for at least 10minutes to identify which apps consume the most data. To see how much data anapp uses while it’s running, launch that app after you start this preset.

2. Mobile Data Detective - 使用此预设来识别哪些应用程序使用最多的蜂窝或Wi-Fi数据。默认情况下,应用程序列表排序的显示基于开始运行监测后这些应用的数据量。如果你想按字母顺序排序这些应用程序列,点击“APPLICATION”标示。在开始监测后,如果在每个应用程序旁边看到0.0,这是正常的。你需要运行测试至少10分钟,以确定哪些应用消耗最多的数据。如需看到在应用程序运行的时候使用多少数据,你需要在开始运行此预设前打开该应用程序。

To run this test in the background firststart Mobile Data Detective, and then press the Home button to return to theAndroid home screen. To return to Trepn Profiler, pull
down the Notificationbar and select "Trepn.” Pressing the left arrow or Back button will stopprofiling and clear your profiled data. Don’t press Back until you are ready tostop profiling and return to the Trepn home screen. If you want to save theprofiling
data so you can analyze it later, use Advanced Mode, which isdescribed below.

要在后台运行该测试,首先启动Mobile Data Detective,然后按Home键,返回Android主屏幕。如要返回Trepn
Profiler,拉下通知栏,选择“Trepn”。按左箭头或后退按钮将停止剖析和清除你的剖析数据。不要按返回,除非你准备停止剖析,并返回到Trepn主屏幕。如果你想保存分析数据,以便以后可以分析它,可以使用高级模式,这在下面会说明。

Tip: If you prefer to view the amount ofdata consumed as an on-screen overlay, return to the Trepn Profilerpreset-based home screen and launch Mobile Data Detective using
the shortcutshown on the right.

提示:如果您想在一个屏幕上窗口查看消耗的数据量,返回到Trepn Profiler基础预设的主屏幕,并使用右边所示的快捷方式启动Mobile
Data Detective。

3.   Performance Graph – This preset monitorsthe frequency and load of the CPU and GPU. Use it to determine whether yourapps are using available
system resources in an efficient manner.Well-engineered apps divide work between CPU cores and the GPU. An app that hasa GPU load of 100% on a regular basis, with a relatively low CPU load isconsidered to be GPU constrained, and vice versa. Keep in mind a
fair amount ofthe CPU activity on one of your CPU cores is generated by Trepn Profiler. A CPUload of 30% to 60% when your device is idle can mean your device has a lot ofapps running in the background. By turning off or uninstalling problem apps,you can reduce
the CPU load when your device is idle.

3. Performance Graph - 此预设监视CPU和GPU的频率和负载。用它来确定是否您的应用以有效的方式利用现有的系统资源。好的设计的应用程序可区分CPU核心和GPU之间的工作。如果一个应用程序经常性GPU负载达到100%,但CPU的负载相对较低,这会认为是GPU的约束,反之亦然。记住在你的CPU核中相当数量的CPU活动是由Trepn
Profiler产生。当你的设备处于空闲状态时,而CPU负载达到30%到60%之间,这可能意味着你的设备有很多在后台运行的应用程序。通过关闭或卸载有问题的应用程序,你可以在你的设备处于空闲状态时降低CPU的负载。

Tip: Rotate your screen to see all ofthe performance graphs superimposed on each other. Slide out the legend on theright and tap any of the data points to turn them off.
You can also pinch outto zoom in, or pinch in to zoom out and double-tap on the Y-axis to cyclebetween the units. If the graph appears to stop automatically scrolling, scrollall the way to the right or return to Live View by touching the icon shownabove.

提示:旋转屏幕来查看所有相互叠加的性能图表。向右滑动,然后点击任何数据点,可以将其关闭。您还可以两只手指外展来放大,或两只内缩来缩小和在Y轴上双击来在各单位之间切换。如果图表出现自动停止滚动,请向右滚动或通过触摸上面显示的图标返回实时查看。

4.   CPU Usage Monitor – By default thispreset displays applications in a list based on the percentage of CPU they haveused over the last
second. Consider stopping or uninstalling apps that use alot of CPU when you are not using them. Touch the overlay button (shown on theright) to display the CPU usage for the top five apps as an overlay on top ofany screen or application.

4. CPU Usage Monitor -默认情况下,该预设显示的应用列表是基于最后时刻的CPU占有率。当你不使用的应用程序占用大量的CPU资源的时候,那么可以考虑停止或卸载该应用。可以点击窗口按钮(如右图所示),来显示CPU占用率前五位的应用程序,覆盖到任何屏幕或应用程序上。

Tip: You can switch between average andinstantaneous readings in list view by touching the 3 dots near the top of thescreen and selecting the desired option. 

提示:您可以通过触摸靠近屏幕的顶部的3个点并选择所需的选项,来在列表视图中切换平均读数和瞬时读数。

5.   CPU Load Overlay – This preset displaysthe load of the first four cores as an overlay on your screen. This shows howhard your processor
is working as you run different applications. The bluegraph line shows a more precise history of the changes in processor load. Keepin mind that some of the activity you are seeing on one of your CPU cores isgenerated by Trepn Profiler.

5.  CPU Load Overlay -这预设以覆盖屏幕来显示的第一个四核的负载。这显示了你在运行不同应用程序时,你的处理器的运行情况。从蓝色的图线可看更精确的历史处理负载的变化。记住在其中一个CPU核中有些活动是由Trepn
Profiler产生。

6.   NetworkActivity – This preset shows network-related activity and battery power. Toview accurate battery power, make sure your device
does not have a USB cable orcharger connected to it. Not all mobile devices report accurate battery power readings.Refer to the TrepnProfiler
FAQ
 for more info. The default view is a graph, but youcan view this data as an overlay as well.

6. Network Activity -此预设显示与网络相关的活动和电池电量。要查看准确的电池电量,请确保您的设备没有连接USB连接线或充电器。并非所有的移动设备可以上报精确的电池电量读数。请参阅Trepn
Profiler常见问题解答获得更多信息。默认视图是一个图表,但也可以作为一个窗口来查看这些数据。

Note: To see more activity on the MobileData State graph, turn Wi-Fi off.

注意:要在移动数据状态图里要看到更多的活动,请把wifi关闭。

Using Advanced Mode

使用高级模式

Advanced Mode allows you to select whichdata points you want to profile and customize the overlays. You can also savethe results of a profiling session to analyze later. This
mode doesn’t usepresets, so you need to manually configure the settings before profiling. Hereis an example how you can profile using Advanced Mode.

高级模式可让您选择要分析和定制覆盖哪些数据点。您还可以保存分析会话的结果,供以后分析。此模式不使用预设,所以你需要分析之前手动配置设置。下面是一个例子,教你如何使用高级模式配置。

1.   First, touch the icon that looks like abeaker to enter Advanced Mode.

1. 首先,点击一个看起来像烧杯的图标,进入高级模式。

2.   Then touch ‘Settings’ and select thedata points and overlays you wish to profile.

2. 然后触摸“设置”,然后选择您要分析的数据点和窗口。

Keep in mind selecting any of thepresets on the Trepn Profiler home screen will override all of the AdvancedMode settings, so it’s a good idea to save your preferences before
returning toPreset Mode. This is done in the General Settings tab. Before you can save, youneed to name the preference by touching near the bottom of the window. If theSave button isn’t visible after you enter a name, touch the Back button andthen touch ‘Save.’

请记住,选择任何一个Trepn Profiler主屏幕上的预设将覆盖所有的高级模式设置,所以最好在返回预设模式之前保存你的偏好。这是在常规设置标签中完成的。你可以保存之前,你需要点击靠近窗口的底部来命名偏好。如果您输入名称后,保存按钮是不可见的,那么点击返回按钮,然后点击“保存”。

Tip: You can save time by using one ofthe presets as a starting
point for the creation of an Advanced Mode Setting.For example, if you have an 8-core processor and want to view all of thefrequencies as an overlay on your tablet, start by touching the ‘CPU FrequencyOverlay’ preset and then touch the left-arrow and switch
to Advanced Mode. Nowgo to Settings/Overlays and you’ll see that four of the 8 cores are already setup. Add the remaining cores and save the new overlay as a Preference.

提示:您可以通过使用预设为出发点来建立一个高级模式设置,这样会节省你的时间。例如,如果你有一个8核处理器,并在平板电脑上使用窗口查看所有的频率,通过触摸“CPU
Frequency Overlay”预设开始,然后轻触左箭头并切换到高级模式。现在,去设置/覆盖,你会看到8核心内的四个已经设定好了。添加其余内核,并作为首选项保存到新的窗口内。

3.   Next, touch the Back button to return tothe ‘Advanced Mode’ home screen.

3. 接下来,点击返回按钮来回到“高级模式”主屏幕。

4.   You are now ready to profile. Touch ‘ProfileSystem’ or ‘Profile App’ to continue.

4. 已经准备好剖析后。点击“Profile System”或“Profile
App”继续。

5.   Now select whether you wish to view thedata as an overlay, graph or text (Stats view).

5. 现在选择是否通过窗口要查看数据,图表或文字(统计视图)。

6.   When you are finished profiling, touch theBack button, or return to Trepn Profiler from the Notification bar.

6. 当您完成分析,轻触返回按钮,或从通知栏返回Trepn Profiler。

7.   Finally, touch ‘Stop Profiling’ andselect a save option. If you wish to analyze the data later,  you shouldselect ‘Save as .db’

7. 最后,点击“停止分析”,然后选择一个保存选项。如果希望以后的数据进行分析,你应该选择“Save as .db”

8.   To analyze a saved profile
session,touch ‘Analyze Run’ and select from the list.

8. 要分析一个保存的配置文件会话,点击“Analyze Run”,然后从列表中选择。

Tip: TrepnProfiler will remember which mode you last used and automatically select itwhen you launch the app again. To return to the ‘Preset Mode’ home screen, usethe
slide out menu, or touch the icon that looks like four boxes.

提示:当你再次启动应用程序的时候,Trepn Profiler会记住您上次使用的模式并自动选择它。要返回到“预设模式”主屏幕,使用滑动退出菜单,或点击看起来像四个小子箱的图标。

How to Get Support

如何获得支持

Support for this product is provided online. If you havequestions, check our FAQ first.
If you don’t find an answerthere, try the TrepnProfiler product forum. You
can also provide feedback from within the TrepnProfiler app using the ‘Feedback’ button in the navigation menu.

本产品在线提供支持。如果您有问题,首先查看我们的FAQ。如果你没有找到相应答案,尝试在Trepn Profiler产品论坛里解决。您也可以在Trepn
Profiler应用程序内,使用导航菜单中的“反馈”按钮提供反馈。

时间: 2024-10-12 01:42:34

Trepn Profiler-user guide的相关文章

开发者为什么要参加Uplinq2014大会?

Qualcomm Uplinq2014大会即将在9月18-19日在美国旧金山盛大开幕.作为开发者,您绝对不能错过Uplinq.作为专属于开发者的盛会,它专注在移动计算和无线技术,通过实打实的教育课程,能帮助您更好的了解和运用Qualcomm的技术. Uplinq2014大会即将开幕,今年Qualcomm给开发者带来了哪些猛料? 可能在开发者社区,Qualcomm未必是大家谈论的焦点话题,但事实上Qualcomm誓要做一名移动生态的创新大使,我们将价值手把手的传递给生态系统内的每一个人,以实现他们

骁龙 805提供抢先发布产品的功能——在今天为明天的设备开发应用

很多开发者或许并未了解到自己其实能够赶在最新款骁龙处理器商用化之前,便能够在此类处理器上开发.测试.优化和展示自己的应用. Intrinsyc刚刚发布了基于高通 骁龙 805 处理器的移动开发平台平板(MDP/T)的通用版本.你可以利用MDP/T开发应用并获得最佳效果,最大程度降低能耗.你可以向Intrinsyc订购自己的MDP/T. 抢先发布产品 这种高级开发平台具有的所有功能都将出现在今年晚些时候的旗舰版商业设备中,但你现在就可以在开发环境中使用该平台,在制造商将其添加至设备之前便可支持骁龙

移动互联测试

Android日志 实时打印日志 状态信息日志 ANR日志 application not responding Monkey日志 实时打印日志 adb logcat -b main -v time> app.log 打印应用程序的log adb logcat -v time> app.log 默认main adb logcat -b radio -v time> radio.log 打印射频相关的log adb logcat -b events -v time > event.l

游戏测试工具清单

转自:https://github.com/jianbing/awesome-game-tester 收集整理了游戏测试人员工作相关的一些资源清单,包括学习资料,测试工具,开源框架,效率工具等. 学习资料 视频 游戏测试入门(张敬峰) 游戏测试从入门到精通 书籍 软件测试的艺术(原书第3版)(软件测试经典书籍) 游戏测试精通(Game Testing: All in One 第一版中文翻译) Game Testing: All in One(3rd Edition) Google软件测试之道 海

android之app流畅度分析

大多数人感觉卡顿等性能问题的最主要根源都是因为渲染性能.从设计师的角度,他们希望App能够有更多的动画,图片等时尚元素来实现流畅的用户体验.但是Android系统很有可能无法及时完成那些复杂的界面渲染操作.Android系统每隔16ms发出VSYNC信号,触发对UI进行渲染,如果每次渲染都成功,这样就能够达到流畅的画面所需要的60fps,为了能够实现60fps,这意味着程序的大多数操作都必须在16ms内完成.时间超出16ms越多,丢的帧就越多(可以大概估计5秒没响应抛出anr异常期间丢了多少帧,

Linux Kernel - Debug Guide (Linux内核调试指南 )

http://blog.csdn.net/blizmax6/article/details/6747601 linux内核调试指南 一些前言 作者前言 知识从哪里来 为什么撰写本文档 为什么需要汇编级调试 ***第一部分:基础知识*** 总纲:内核世界的陷阱 源码阅读的陷阱 代码调试的陷阱 原理理解的陷阱 建立调试环境 发行版的选择和安装 安装交叉编译工具 bin工具集的使用 qemu的使用 initrd.img的原理与制作 x86虚拟调试环境的建立 arm虚拟调试环境的建立 arm开发板调试环

Nemerle Quick Guide

This is a quick guide covering nearly all of Nemerle's features. It should be especially useful to anyone who is already familiar with C# or a similar language: Table of Contents Variables Operators Logical Operators Bit Operators Type Casts/Conversi

Instruments User Guide编程指南2-Common Tasks

Launch Instruments  Instruments app在Xcode app的内部,所以最直接的方式启动Instruments就是从Xcode中启动,当然也可以间接通过 Dock, Launchpad,  command line等工具启动. Launch Instruments from Xcode 1:Open Xcode. 2:Choose Xcode > Open Developer Tool > Instruments. 建议:也能够使用该方式启动更多有用的开发工具 T

How Does CLR Profiler Work?

In order to use a profiler properly, you need to understand how the data was collected and the limitations of the tool. The CLR Profiler uses a special interface to the runtime that allows it to get callbacks when particular events happen within the