TPTP Agent Controller使用说明

tftp安装包 tftp安装包,下载了即可安装!!!!!!!!!!!!!!!!!!!!!!!!!! 立即下载

 

概述
本文本档主要说明独立运行的Agent Controller的安装和配置。为了调优一个运行于远程机器上的java程序或者在远程机器上运行TPTP测试,你首先需要在那台远程机器上安装一个独立的Agent Controller。如果只是在本地调优一个java程序或者运行TPTP测试,你可以选择在本地安装一个独立的Agent Controller或者使用集成的Agent Controller。如果使用集成的Agent Controller,则在进行调优时不需要安装和配置独立Agent Controller。


要求
1、安装JRE或者JDK1.5(或更高)或1.4。
2、删除或卸载先前安装的Agent Controller版本。
3、Agent Controller编译的时候使用了libstdc++-libc6.2-2.so.3共享库。因此请确认该共享库存在于/usr/lib目录。如果不存在,你需要安装RPM包compat-libstdc++.


注释
<install-dir>=Agent Controller解压后所在的目录的绝对路径。如/opt/tptpAC


安装Agent Controller
从TPTP的下载页面下载Agent Controller的运行包。安装的过程只是简单的创建一个目录,并把下载的包的内容解压到那个目录下。


设置Agent Controller

在安装好Agent Controller后,在启动前,你需要对Agent Controller进行一些配置。


配置AgentController
1、确定安装到<install-dir>/bin和<install-dir>/lib目录下的文件具有可执行的权限。
2、在命令行模式下运行<install-dir>/bin/SetConfig.sh脚本来生成Agent Controller的配置文件。脚本需要java虚拟机出现在的PATH的环境变量里。根据提示输入相应的配置参数。脚本会根据你输入的信息生成配置文件<install-dir>/config/serviceconfig.xml。
3、添加<install-dir>/bin目录到环境变量PATH里。
4、添加<install-dir>/lib到环境变更LD_LIBRARY_PATH里。如果是windows则把这个目录也同时添加到PATH环境变量里即可。
如果你需要对第一步生成的配置文件进行修改,你可以重新运行SetConfig.sh脚本,或者手工的编辑配置文件。配置文件的配置规则和说明可以在下面的文档里找到。http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/installguide/agentcontroller_45/ref/ac/r_config_ovw.html。修改配置文件后,必须要重新启动Agent Controller才会生效。
如果linux下安装Agent Controller的时候用了root用户,如果非root用户要设置正确的文件权限才可以运行SetConfig.sh。
下面脚本是一些对相关文件进行权限设置的例子:
      #!/bin/sh
      chmod a+rwx org.eclipse.tptp.platform.ac.linux_ia32*/agent_controller/config
      chmod a+rw org.eclipse.tptp.platform.ac.linux_ia32*/agent_controller/config/*
      chmod a+rwx org.eclipse.hyades.execution*/config
      chmod a+rw org.eclipse.hyades.execution*/config/*
      chmod a+rwx org.eclipse.hyades.logging.core*/config
      chmod a+rw org.eclipse.hyades.logging.core*/config/*
      chmod a+rwx org.eclipse.hyades.test.core*/config
      chmod a+rw org.eclipse.hyades.test.core*/config/*
      chmod a+rwx org.eclipse.hyades.test.tools.core*/config
      chmod a+rw org.eclipse.hyades.test.tools.core*/config/*
      chmod a+rwx org.eclipse.tptp.monitoring.instrumentation*/config
      chmod a+rw org.eclipse.tptp.monitoring.instrumentation*/config/*
      chmod a+rwx org.eclipse.tptp.platform.collection.framework*/config
      chmod a+rw org.eclipse.tptp.platform.collection.framework*/config/*
      chmod a+rwx org.eclipse.tptp.platform.logging.events*/config
      chmod a+rw org.eclipse.tptp.platform.logging.events*/config/*
      chmod a+rwx org.eclipse.tptp.test.tools.junit.plugin*/config
      chmod a+rw org.eclipse.tptp.test.tools.junit.plugin*/config/*
      chmod a+rwx org.eclipse.tptp.trace.arm*/config
      chmod a+rw org.eclipse.tptp.trace.arm*/config/*
      chmod a+rwx org.mx4j.jmx*/config
      chmod a+rw org.mx4j.jmx*/config/*
      chmod a+rwx org.opengroup.arm*/config
      chmod a+rw org.opengroup.arm*/config/*
      chmod a+rwx org.eclipse.hyades.probekit*/config/
      chmod a+rw org.eclipse.hyades.probekit*/config/*
      chmod a+rwx org.eclipse.tptp.platform.jvmti.runtime*/config
      chmod a+rw org.eclipse.tptp.platform.jvmti.runtime*/config/*


启动Agent Controller
启动Agent Controller前,你需要改到你的工作目录为<install-dir>/bin,然后运行ACStart.sh。
Note:Agent Controller为了向前兼容,也可以通过RAStart.sh脚本来启动。


关闭Agent Controller
关闭Agent Controller前,你需要改变你的工作目录为<intall-dir>/bin,然后运行ACStop.sh。
Note:Agent Controller为了向前兼容,也可以通过RAStop.sh脚本来关闭。


查询Agent Controller的版本信息
为了查询Agent Controller的版本信息,你需要改变你的工作目录为<install-dir>/bin,然后运行下面的命令:
ACServer -v 或者 ACServer -version
Agent Controller将在终端上显示它的版本信息。
Note:Agent Controller为了向前兼容,你也可以通过RAServer来查询版本信息。


检查Agent Controller安装的正确性
如果需要,你可以通过Agent Controller运行包里带的SampleClient程序来检查安装的正确性。
执行下面的步聚:
1、启支Agent Controller。
2、打开一个命令窗口。
3、进入<install-dir>bin目录。
4、在命令窗口里输入下面的命令:
      SampleClient
5、观察SampleClient的控制台输出。它应该输出如下的内容:
------------------- SampleClient Console Output --------------------------------

Connected to the Agent Controller on "localhost" at port number #####

The Time Collector Agent ID: ###

Established a data channel with the agent.

Sending 5 Hello messages over data channel to TimeCollector ...

Start the TimeCollector ...

Incoming data: Hello from Time Collector Agent - Count 0

Incoming data: Hello from Time Collector Agent - Count 1

Incoming data: Hello from Time Collector Agent - Count 2

Incoming data: Hello from Time Collector Agent - Count 3

Incoming data: Hello from Time Collector Agent - Count 4


Stop the TimeCollector ...

Incoming data: Hello from Time Collector Agent - Count 5

Incoming data: Hello from Time Collector Agent - Count 6

Incoming data: Hello from Time Collector Agent - Count 7

Incoming data: Hello from Time Collector Agent - Count 8

Incoming data: Hello from Time Collector Agent - Count 9

Incoming data: Hello from Time Collector Agent - Count 10

All finished
Press any key to exit...

注意:上面的端口和Agent ID值通常情况下分别是10006和103,它依赖于Agent Controller的配置和SampleClient程序的运行次数。
服务器日志
所有的服务器日志都统一的存入到<install-dir>/config/servicelog.log文件里。

调优(Profiling)java程序
你能够通过Java Profiling Agent来调优一个java程序,它是一个附加到JVM上,用来搜集和记录java程序的一个库。agent的输出内容为XML片段。XML片段的格式的描述可以在http://www.eclipse.org/tptp/platform/documents/resources/profilingspec/XML4Profiling.htm上找到。
你也能够通过Eclipse的workbench或者独立的命令行模式来调用Java Profiling Agent。

从Eclipse Workbench上调用Java Profiler
通过Eclipse workbench,你可以启动并调试当前Eclipse工作区内的一个java应用,也可以启动并调试一个工作区外的文件系统上的java应用。如果是从eclipse workbench中调用Java Profiler,你必须在eclipse里安装Test and Performance Tools Platform(TPTP)。如果是调试一个本地的java应用,你可以采用集成的Agent Controller或在本地安装的独立的Agent Controller的方式在eclipse里进行调试。如果是调试远程应用,你必须在Java应用所在的机器上安装Agent Controller。

为了启动Java Profiler,通过Eclipse workbench的Profiling and Logging视图,使用Run->Open Profile Dialog...菜单或者使用工具栏上的Profile按钮。Profile的向导将为打开,简单的引导你完成一个应用的调试工作。

从命令行调用Java Profile
如果从命令行运行Java Profiler,则你不需要安装Test and Performance Tools Platform(TPTP),但你需求在java应用所在的机器上安装Agent Controller。

在java 1.4(或更低)的虚拟机下使用Java Profiler


使用-Xrun java参数来调用Java Profiler Agent。如下:
-XrunpiAgent[:agent_param[,agent_param]*]


例如调试PerformanceExample.java时,使用myFilters.txt文件里定义的过滤器,并且相关的调试数据直接写入到文件PEProfilingData时,运行下面的命令:
java -XrunpiAgent:server=standalone,filters=myFilters.txt,file=PEProfilingData.trcxml PerformanceExample

根据-XrunpiAgent参数,你能够指定profiling agent的不同运行模式。参数agent_param能够使用下面的一些值:

    *  server=[standalone | enabled | controlled | applicationControlled]

      standalone
          The Java Profiler is manually attached to a JVM instance and generates a stand-alone trace to a specified file based on the options and filters given on the command line. When this option is selected, the Java Profiler produces the enclosing traceRoot element to form a complete and valid XML document.
      enabled
          The Java Profiler is loaded, allows the application to run normally, but produces no trace until a Eclipse workbench attaches to the agent to give it instructions. When this option is selected, the Java Profiler only produces XML fragments instead of a complete XML document.
      controlled
          The Java Profiler is loaded, and the application is blocked from running until a client gives it instructions to continue. When this option is selected, the Java Profiler only produces XML fragments instead of a complete XML document.
      applicationControlled
          Profiling operations are controlled by the TPTP "Profiler" java class. The pluginconfig.xml file must be modified to use this mode. The pluginconfig.xml is located in the following directory:

          <install-dir>/plugins/org.eclipse.tptp.platform.collection.framework_<version>/config/pluginconfig.xml

          The following modification is required:

          <Agent client="DYNAMIC" configuration="default" dataChannelSize="64M" name="Java Profiling Agent" type="Profiler"/>

          should be modified to

          <Agent client="HEADLESS" configuration="default" dataChannelSize="64M" name="Java Profiling Agent" type="Profiler" logFile="<some_dir>/profile.trcxml"/>

          Note that the Agent client attribute has been changed to "HEADLESS" and that the "logFile" attribute has been added.
          The hcframe.jar file should also be included in the user's class path when profiling an application under this mode. For example:

           java -XrunpiAgent:server=applicationControlled -classpath .:<install-dir>/plugins/org.eclipse.tptp.platform.collection.framework_<version>/hcframe.jar TestClass

    * filters=filename

        Note: This parameter is only used when server=standalone is specified.

    Specifies the name of the file that contains the initial class filter definitions to be used during the trace. The default is filters.txt in the current directory.

    The format of the file is as follows:

        <classpattern> <methodpattern> <mode> where:

    classpattern
        is a string with no embedded blanks. The string may contain a single "*" either at the beginning of the string or at the end of the string. The "*" will match zero or more characters, thus making the pattern a generic prefix or suffix pattern. A single "*" can also be specified to represent all strings.
    methodpattern
        is a string with no embedded blanks. The string may contain a single "*" either at the beginning of the string or at the end of the string. The "*" will match zero or more characters, thus making the pattern a generic prefix or suffix pattern. A single "*" can also be specified to represent all strings.
    mode
        is one of INCLUDE or EXCLUDE. Filter patterns are processed in the order that they are specified until the first pattern match succeeds. If the class name does not match any of the specified filter patterns, the default is to INCLUDE the class.

    * file=filename

          Note: This parameter is only used when server=standalone is specified.

      Specifies the name of a file where the trace will be written. The default is trace.trcxml in the current directory.

    * help
      Displays a list of available agent options to standard out.

在java 1.5(或更高)的虚拟机下使用Java Profiler


使用-agentlib Java参数来调用Java Profiling Agent:

-agentlib:JPIBootLoader=JPIAgent[:[help]|[<option>=<value>,...]];<profiler>[:<option>=<value>,...]

命令行由于下的结构组成:

JPIBootLoader是载入的profiling agent库。
 
JPIAgent是一个Java 5.0+ profiling agent.通过JPIAgent的命令行附加的参数,你能够控制profiling agent的行为,下面是一些支持的参数值说明:

    * server=[standalone | enabled | controlled]

      standalone
          The profiling agent runs in a headless mode, which means it is not possible to interact with it from the workbench. Configuration information is provided as part of the command lineand profiling data is stored in a file directly by the profiling agent. The profiling file can then be imported into the workbench at a later date.
          The Java Profiling Agent is manually attached to a JVM instance and generates profiling data to an output file. The default output file is called trace.trcxml, but you can specify a different file name using the file= filename parameter. When this option is selected, the Java Profiling Agent produces an enclosing traceRoot element to form a complete and valid XML document.
      enabled (This is the default.)
          The profiling agent runs in the background of the JVM without consuming resources until it is connected to by the workbench and asked to start monitoring. Data is then streamed over the agent's data channel and consumed by the workbench. This mode allows the application to run normally, but produces no profiling data until a client attaches to the agent to give it instructions. When this option is selected, the Java Profiling Agent produces only XML fragments instead of a complete XML document.
      controlled
          The profiling agent preempts the JVM from initialization (the agent is loaded but it blocks the application from running) until it is attached to from the workbench and given instructions to start monitoring by a client. That is, when the profiling agent is launched in controlled mode, it will appear to hang the JVM until asked to start monitoring and it will produce only XML fragments instead of a complete XML document.

    * filters=filename
      Used only when server=standalone is specified.
      Specifies the name of the file that contains the initial class filter definitions to be used during the profiling session. The default file name is filters.txt in the current directory. See below for information about the file format.
    * file=filename
      Used only when server=standalone is specified.
      Specifies the name of a file that the profiling data will be written to. The default is trace.trcxml in the current directory.
    * help
      Displays a list of available agent options to STDOUT.

<Profiler> 是需要载入的Profiler库的名称. 下面是有效的profiler及对应的参数:

    * CGProf
      Execution time analysis. Supports the following options:

      execdetails=[true | false] : whether to collect execution flow/call-graph information (true) or not (false). Default is false.
    * HeapProf
      Object allocation/heap analysis. Supports the following options:

      allocsites=[true | false] : whether to collect object allocation site information (true) or not (false). Default is false.
    * ThreadProf
      Thread analysis.

在linux下运行独立模式的Java profiling,执行下面的步骤:

   1. 设置TPTP_AC_HOME=<<Agent Controller Home>>
   2. 设置JAVA_PROFILER_HOME=$TPTP_AC_HOME/plugins/org.eclipse.tptp.javaprofiler
   3. 添加到下面的目录到 LD_LIBRARY_PATH:

      $JAVA_PROFILER_HOME:$TPTP_AC_HOME/lib:$TPTP_AC_HOME/bin
   4. 通过-agentlib参数执行java程序。参数已在上面有描述。

注意: 确保你的整个-agentlib用单引号括起。否则,linux shell可能把profiler name前面的分号(;)解析成命令结束,导致java程序不能被启动。

例子:

   1. 为了在standalone模式下调试"HelloWorld"java应用程序的CPU性能,并且将结果写入到log.trcxml中:

      java '-agentlib:JPIBootLoader=JPIAgent:server=standalone,file=log.trcxml;CGProf' HelloWorld

   2. 为了在standalone下调试"HelloWorld" Java应用的Heap性能,使用myFilter.txt文件里定义的过滤器,并且将采集对角的分配的source location信息。

      java '-agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=myFilter.txt;HeapProf:allocsites=true' HelloWorld

Class Filter 文件格式

过滤器文件必须指三个字段,package/class,method,mode,格式如下:
   package/class method mode

说明:

    package/class
    这个字段指定了package和class名称的匹配模式。匹配模式必须是一个不包含空格的字符串。字符串可以包含一个星号(*),星号可以出现在字符串的开始或者结尾,如*.mypackage or org.mycompany.*。*匹配零个或多个字符,因此可以构造一个前匹配或者后匹配的通用表达式。单独的一个*号可以匹配所有字符串。
     method
               这个字段用来指定方法名的匹配模式。匹配模式必须是一个不包含空格的字符串。其他的规则同class字段。
    mode
                这个字段指定了符合匹配规则的package或者class是包含(参与)profiling呢还是排除。它的值可以是
        INCLUDE或者EXCLUDE。

过滤器的处理顺序为找到第一个符合规则的匹配即结束。如果一个类名没有任务匹配的规则,默认是包含这个类。

控制Java Profiling Agent

当启动Java Profiling Agent时包含了server=enabled或者server=controlled参数, 和agent的通讯将通过客户端工作台和运行于主机上的Agent Controller的来完成。
关Java Profiler的注意事项

    * 如果你没有在命令行里指定过滤器定义文件,Java Profile Agent将试图从当前工作目录读取名为filters.txt的过滤器文件。如果filters.txt不存在,则在调试的过程中将不包含任务过滤器。如果你将你自己定义的过滤器命名为filters.txt,并且也放在当前目录,你则不需要在命令行里指定filters参数。
    * 如果你没有指定profiling数据的输出文件,则它将被保存到trace.trcxml。
    * 你不需要指定办出文件的扩展名。系统将自动采用.trcxml的扩展名。
    * 你不需要指定你的java程序的扩展名。

卸载agent controller:


   1. 停止agent controller:
   2. 删除<install-dir>.
   3. 从PATH环境变量里删除<install-dir>/bin目录。
   4. 从LD_LIBRARY_PATH环境变量里删除 <install-dir>/lib目录。


参考:

AgentController下载地址:http://www.eclipse.org/tptp/home/downloads/#agentController

官方英文AgentControoler安装手册

TPTP详细教程,中文版 TPTP中文版教程,很少见。希望有助于测试的朋友们。 TPTP 包含一个核心平台和三种基于核心的工具 TPTP Platform TPTP Platform为UI开发、数据收集、基于规则的数据查询和应用程序的控制提供基本功能。 例如:为其它工具提供可重用和可扩展的向导,提供编程接口,提供后台程序从本地或远程程序收集数据。 TPTP Testing Tools 面向应用程序生命周期的测试阶段,主要功能包括测试的编辑、测试的部署和执行、测试结果的分析和报表。测试工具包括:基于Junit的测试工具、Web应用性能测试工具和手工测试工具。 TPTP Tracing and Profiling Tools 面向应用程序生命周期的跟踪和分析测试阶段,可以收集和分析应用程序的性能数据。 TPTP Monitoring Tools 面向应用程序生命周期的监控和日志分析阶段,可以监控应用服务器和系统的性能,例如CPU和内存的使用情况。 等等内容 立即下载

相关推荐

Eclipse TPTP

如何利用TPTP进行性能监视

TPTP安装与使用问题

       经过多天的折腾,终于搞定了这个万恶的eclipse插件。接到mentor分配下的任务后一直在研究这个问题。现简要说下经过:       1.安装准备       http://www.eclipse.org/tptp/可到官方网站下载tptp插件,runtime的就可以,还要下载Eclipse Modeling Framework (EMF and XSD) SDK 2.

fengfengfeifei的专栏 2万+

性能测试工具tptp使用

火龙果软件工程技术中心   程序在实际应用当中,大数据量时对系统本身的影响是一个不得不面对的问题。什么是tptpEclipseTestandPerformanceToolsPlatform(TPTP)用它可以监测运行的并发线程数据、内存的使用情况等,是不款非常不错的性能测试工具,它是eclipse官方的一款插件项目.可以进行程序执行时间的统计分析、内存的监控、对象调用的分析等。环境本次用的tptp版本是4.4.0.2是当时比较稳定的版本,再多说一句,本想下载tptp的4.4.1但是下载所有eclipse官方所有依赖的插件运行后一直都启动不了agentcontroller(tptp依赖的一个非常

Eclipse插件TPTP-程序Profile与分析工具详细教程

Eclipse Test & Performance Tools Platform 是Eclipse的一个顶级工程(Top-Level Project),TPTP项目封装了一大堆公共的操作接口与数据,甚至一个远程执行环境,以供其它的TPTP工具使用。另外,它还提供了扩展点以方便进行定制编码。实际上就是一个依托于Eclipse的JAVA的Profile与分析工具。可以进行程序执行时间的统计分析、内存的监控、对象调用的分析等。

张小琦的博客专栏 1万+

一文带你弄懂thermal governor IPA

当current temp < target temp时,使用k_pu,当current temp >= target temp时,使用k_po。如果current_temperature = switch_on_temp时,则k_p = k_pu,这时Pmax。如果current_temperature = target_temp时,则k_p = k_po,这时Pmax。2、解析dts,获得switch_on_temp和target_temp。3、初始化k_pu/k_po/k_i/k_d的常数。

yxw0609131056的博客 1257

Stata森林图进阶:个性化定制与高级技巧

本文详细介绍了Stata森林图的进阶技巧,包括个性化定制与高级应用。通过meta分析工具如metan命令,用户可以优化字体、颜色、坐标轴等视觉元素,提升森林图的专业性和可读性。文章还提供了黑白印刷设置、高分辨率导出等实用技巧,帮助科研人员制作符合学术出版要求的森林图。

ios99的博客 258

TPTP 简介

在交付健壮的产品质量的程序所需的过程中,编写应用程序或 servlet 的 Java 代码只是第一个阶段。必须对代码进行测试,检验它的操作和正确性。往往还必须对代码进行分析,以便消除性能瓶颈和资源浪费(尤其是内存)。还必须对代码进行监视,以便对故障进行定位、识别使用模式、寻找进一步增强和优化的机会以及探测入侵尝试和实际的入侵。Eclipse TPTP 是什么?虽然存在许多对代码进行测试、分析和监视...

hintcnuie 7614

脑机接口(BCI)从原理到开发实战 10|脑控外设:用脑电波控制机械臂/游戏

摘要: 脑机接口(BCI)的“最后一公里”是将分类结果转化为实际动作的关键环节。本文介绍如何通过指令映射、硬件通信和执行反馈实现脑控外设,包括离散/连续控制策略、防抖处理及串口/蓝牙通信方法。通过两个实战案例(运动想象控制机械臂抓取、P300/SSVEP控制游戏)和完整项目(OpenBCI控制小车),演示了从分类标签到设备动作的完整流程,重点涵盖指令生成算法(多数投票)、Python与Arduino的串口通信集成,为BCI系统落地提供实用解决方案。(149字)

小明的博客 783

TPTP官方教程(全文,无图片)

Eclipse Test and Performance Tools Platform 简介用一种高级的可扩展平台来测试、分析和监视应用程序级别: 中级Martin Streicher, 主编, Linux Magazine2006 年 3 月 23 日学习如何使用 Eclipse Test and Performance Tools Platform(TPTP)分析 Java™ 应用程序,并研究

2754

Apple 网页 SRP 登录系列文章(二):网页参数提取与会话初始化

本文深入解析了Apple网页SRP登录的第一个关键环节。文章首先指出Apple登录页面采用多层安全架构,包括跨域跳转机制和动态参数生成。重点介绍了四种关键参数(ServiceKey、SCNT、FrameId、ServiceNum)的提取技术,通过正则表达式和JSON路径解析从HTML脚本和HTTP头中获取。最后详细说明了会话初始化流程,包括访问初始页面和构建认证URL。这些技术细节揭示了Apple如何通过复杂机制确保登录过程的安全性。

Sayid_Des的专栏 1143

lumerical-环形谐振器

利用mode求解器优化得到所需的环的总长度,即环形器的半径,然后通过varFDTD得到光场分布和透过率.

m0_61776728的博客 2195

TPTP教程

Eclipse Test and Performance Tools Platform 简介用一种高级的可扩展平台来测试、分析和监视应用程序TPTP 简介在交付健壮的产品质量的程序所需的过程中,编写应用程序或 servlet 的 Java 代码只是第一个阶段。必须对代码进行测试,检验它的操作和正确性。往往还必须对代码进行分析,以便消除性能瓶颈和资源浪费(尤其是内存)。还必须对代码进行监视,以便对故...

wjm901215的专栏 3769

ESP32连接PDM麦克风操作指南:新手入门必看

手把手教你如何将ESP32与PDM麦克风连接,采集音频数据并用于音频分类应用。内容涵盖硬件接线、代码配置及实际调试技巧,适合初学者快速上手esp32在声音识别场景中的使用。

weixin_42590539的博客 1337

ubuntu 8.10 tptp Agent controller安装

今天在ubuntu 8.10上安装好eclipse tptp agent controller,在启动时产生如下的错误。ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory首先的第一反应就是

youfly的专栏 946

python123题目——判断火车票座位B(异常)

类型:流程控制。

m0_62488776的博客 3575

宇树G1开发实践--PPT汇报(基础版)

本文介绍了一套基于宇树G1人形机器人的PPT自动演示系统,可实现"一键启动、自动演讲"功能。系统通过多线程同步技术,将音频播放与机器人动作完美结合,支持12种预设社交互动动作。硬件依赖宇树G1机器人、外接音响和网络连接,软件采用Python SDK和ALSA音频工具。核心功能包括音频文件自动排序、外接音响播放控制、机器人动作执行及音画同步。使用时需配置网络接口和音频设备号,运行后自动按顺序播放音频并执行随机动作。系统特别强调了安全注意事项,并提供了常见问题解决方案,适用于展会、汇报等需要

m0_47999117的博客 520

TPTP—详细说明讲解

参考:http://www.longlong118.cn/?p=55   今天研究了一天,发现关于TPTP的文章真是铺天盖地啊,到处都是。可是正经的没有几个,大都是安装TPTP的文章,看着真累啊,迫于无奈还是看了官网。下面就给大家详细讲解一下,这软件到底怎么用   官网: http://www.eclipse.org/tptp/home/downloads/   现在版本是4....

chenhailong118的专栏 2558

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

使用TPTP和eclipse进行Profiling

1.在eclipse里安装tptp From the menu in Eclipse, select Help &gt; Install New Software... Enter the TPTP update site URL (http://download.eclipse.org/tptp/updates) in the Work with field. Select ...

chenpingpi 451

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

搭建环境 TPTP 远程服务的性能分析

前言,     项目需要改善性能问题。需要调查出性能差的模块。我用Eclipse的TPTP搭建了检测环境。留个笔记。     参考下面的文章很好,可以先看看。 http://dev.eclipse.org/viewcvs/viewvc.cgi/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/packaging...

龙高大老 278

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

Eclipse TPTP 和 IBM Performance Tester 的 AgentControl 冲突

Eclipse TPTP 和 IBM Performance Tester 的 AgentControl 冲突 当心点啊, TPTPAgentControl跟Ibm的都卡在内存里

小白的一生 620

[Java性能剖析] TPTP性能剖析介绍

    TPTP(Test &amp; Performance Tool Platform)是Eclipse的又一测试/性能剖析的力作,本篇重点关注远程JVM的性能剖析功能。     1.我们先看一下TPTP性能剖析的主要结构:          1)对于性能剖析,会有一个ProfileAgent伴随JVM一起启动     2)对于每台物理服务器,会有一个AgentControler,A...

potato123的博客 1381

TPTP性能分析

Eclipse Test and Performance Tools Platform,第 2 部分: 监视应用程序  save this to developerWorks eclipse tptp ... on sept 06 TPTP static analysis tutorial part 3: Integ

陈建慧程序人生 1726

TPTP测试项目的性能

TPTP 及其各子项目简介 TPTP(Eclipse Test &amp; Performance Tools Platform) 是 Eclipse 基金会下的一个开源子项目,提供了一组基于 Eclipse 的工具,对软件开发的各个阶段提供支持。基本已经覆盖了从测试到运行时性能分析、运行状态、日志分析的全过程。从其项目首页来看,其主要开发者来自包括 IBM 和 Intel 在内的大...

tansitongba 368

使用 TPTP 对 Eclipse 插件进行性能剖析和调优

简介:  TPTP(Eclipse Test &amp; Performance Tools Platform Project) 是 Eclipse 基金下的一个子项目,用于提供基于 Eclipse 的软件辅助工具,从测试到运行监控,几乎涵盖了软件开发的各个阶段。本文主要介绍其中的性能分析工具并给出一个实例介绍如何在 Eclipse 插件开发项目中使用性能剖析工具进行性能分析及调优。...

reb12345reb的博客 521
上一篇: ubuntu 8.10 tptp Agent controller安装
下一篇: Lucene 实现 hessian序列化
youfly
博客等级 码龄25年 24粉丝 23原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值