我们正在将我们的应用程序从solaris移植到linux。在linux应用程序中,很少有工作流比solaris应用程序占用更多时间。我已经使用solaris studio profiler在函数级别进行了分析,它给出了每个函数所消耗的时间。但是在linux中,我探索了perf工具,我找不到如何将perf附加到正在运行的应用程序,也没有找到任何命令来打印进程的每个函数所消耗的时间。提前谢谢。
我有以下php代码:
index.php
<?php
spl_autoload_extensions(".php");
spl_autoload_register();
use modules\standard as std;
$handler = new std\handler();
$handler->delegate();
?>
modules\standard\handler.php
<?php
namespace modules\standard {
class handler {
function delegate
我正在维护一个库,其中包含需要链接到第三方可执行文件的编译对象。有时可执行文件是为Solaris编译的,有时是32位Linux应用程序,有时是64位linux应用程序。我想要做的是向库传递一条“路径”,然后让应用程序自动选择合适的库。如果它只在linux上工作,那就好了,这样我就可以根据操作系统来定义路径。
这个特殊的例子是一个PLI/VPI函数库,我想链接到一个verilog模拟器中。
我现在所拥有的是
root/path/${MYPLILIB_VER}/rootname/${MYPLIFLAVOR}/plilib.so
其中的味道是
solaris linux linux64
它的风格取决
我的主机运行Ubuntu 18,04,我在ReactJS on FrontEnd,NodeJS on BackEnd和MySQL上开发了一个关于beaglebone数据库的应用程序。。
有关我的BeagleBone的更多信息:
root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone71.1 #162 SMP Fri Oct 16 07:27:34 CST 2015 armv7l GNU/Linux
我想总是在BeagleBone上运行我的应用程序。
当脚本启动时,我能做什么让它运行呢?