Skip to content

Instantly share code, notes, and snippets.

View luhenry's full-sized avatar

Ludovic Henry luhenry

View GitHub Profile
DEFINITIONS:
Agent : running in the Mono VM, tcp client or write to a file, in charge of : sending the samples to the inspector, execute add/remove/list counters commands.
Inspector : tcp server or read a file, in charge of : displaying samples, send add/remove/lists counters commands. Can be written in any language that support socket or file streaming.
TYPES:
remark: there is two ways to send a list of values :
- first, you can send the count first, and then the values
diff --git a/src/bindings/Makefile b/src/bindings/Makefile
index 47eab37..e77db98 100644
--- a/src/bindings/Makefile
+++ b/src/bindings/Makefile
@@ -18,7 +18,7 @@ MAPS_ASSEMBLIES = $(FRAMEWORKS:%=$(platforms_dir)/%/Mono.Android.GoogleMaps.dll)
all:: $(COMPATIBILITY_V4_ASSEMBLIES)
all:: $(COMPATIBILITY_V13_ASSEMBLIES)
-all:: $(MAPS_ASSEMBLIES)
+#all:: $(MAPS_ASSEMBLIES)
diff --git a/Makefile b/Makefile
index bf6db41..7aba373 100644
--- a/Makefile
+++ b/Makefile
@@ -31,11 +31,11 @@ SUBDIRS = \
src/NUnit \
tools/RuntimeService \
tools/javadoc-to-mdoc \
- samples \
- tests/bcl-test \
hello
diff --git a/Makefile b/Makefile
index 0ed36ce..7b7b79a 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ update-catalogs:
mono --debug setup-repo.exe update-catalogs
update-archives:
- mono --debug setup-repo.exe update-archives | sh
+ mono --debug setup-repo.exe update-archives | tee update-archives.sh | sh
diff --git a/setup-repo.cs b/setup-repo.cs
index 52a428f..593d48e 100644
--- a/setup-repo.cs
+++ b/setup-repo.cs
@@ -13,7 +13,7 @@ public class UpdateTool
{
return new UpdateTool ().Run (args);
}
-
+
diff --git a/setup-repo.cs b/setup-repo.cs
index 52a428f..b6f182f 100644
--- a/setup-repo.cs
+++ b/setup-repo.cs
@@ -13,7 +13,7 @@ public class UpdateTool
{
return new UpdateTool ().Run (args);
}
-
+
diff --git a/sample.env b/sample.env
index b304da1..125eb67 100644
--- a/sample.env
+++ b/sample.env
@@ -10,7 +10,7 @@ ANDROID_SDK_TOOL_SETUP=`pwd`/external/android-sdk-tool
export ANDROID_SDK_PATH=$ANDROID_SDK_TOOL_SETUP/android-sdk
# path to android ndk installation
-export ANDROID_NDK_PATH=$ANDROID_SDK_TOOL_SETUP/android-ndk-r9c
+export ANDROID_NDK_PATH=$ANDROID_SDK_TOOL_SETUP/android-ndk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
class Driver {
static Task<int> One ()
{
return Task<int>.Factory.StartNew (() => { return 1; });
converting method Driver:Benchmark ()
creating vars
creating locals
created temp 0 (R16) of type System.Int32
created temp 1 (R17) of type System.Int32
created temp 2 (R18) of type Driver
created temp 3 (R19) of type System.Diagnostics.Stopwatch
created temp 4 (R20) of type System.Diagnostics.Stopwatch
created temp 5 (R21) of type System.Int32
created temp 6 (R22) of type System.Func<System.Int32>