-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTerminal Saved Output.txt
88 lines (84 loc) · 2.06 KB
/
Terminal Saved Output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Last login: Mon Nov 24 02:17:53 on ttys000
Dhruvils-MacBook-Air:~ Dhruv$ erl s 1
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> cd("Desktop").
/Users/Dhruv/Desktop
ok
2> cd("erlang").
/Users/Dhruv/Desktop/erlang
ok
3> c(plists).
{ok,plists}
4> c(multicore).
{ok,multicore}
5> multicore:test1().
sort: results equal? = true, speedup = 1.3470528021837413
ok
6> multicore:test2().
fibo: results equal? = true, speedup = 1.9805322581386124
ok
7> halt().
Dhruvils-MacBook-Air:~ Dhruv$ erl s 2
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> cd("Desktop").
/Users/Dhruv/Desktop
ok
2> cd("erlang").
/Users/Dhruv/Desktop/erlang
ok
3> c(plists).
{ok,plists}
4> c(multicore).
{ok,multicore}
5> multicore:test1().
sort: results equal? = true, speedup = 1.426408991000705
ok
6> multicore:test2().
fibo: results equal? = true, speedup = 2.022065653938672
ok
7> halt().
Dhruvils-MacBook-Air:~ Dhruv$ erl s 4
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> cd("Desktop").
/Users/Dhruv/Desktop
ok
2> cd("erlang").
/Users/Dhruv/Desktop/erlang
ok
3> c(plists).
{ok,plists}
4> c(multicore).
{ok,multicore}
5> multicore:test1().
sort: results equal? = true, speedup = 1.596660354622138
ok
6> multicore:test2().
fibo: results equal? = true, speedup = 2.0072139246235396
ok
7> halt().
Dhruvils-MacBook-Air:~ Dhruv$ elr s 16
-bash: elr: command not found
Dhruvils-MacBook-Air:~ Dhruv$ erl s 16
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> cd("Desktop").
/Users/Dhruv/Desktop
ok
2> cd("erlang").
/Users/Dhruv/Desktop/erlang
ok
3> c(plists).
{ok,plists}
4> c(multicore).
{ok,multicore}
5> multicore:test1().
sort: results equal? = true, speedup = 1.58788652365463
ok
6> multicore:test2().
fibo: results equal? = true, speedup = 1.9929602588312
ok
7> halt().
Dhruvils-MacBook-Air:~ Dhruv$